wjs0725 commited on
Commit
71c9cb2
1 Parent(s): abb07b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -92,6 +92,7 @@ class FluxEditor:
92
 
93
  @torch.inference_mode()
94
  def edit(self, init_image, source_prompt, target_prompt, num_steps, inject_step, guidance, seed):
 
95
  torch.cuda.empty_cache()
96
  seed = None
97
  # if seed == -1:
 
92
 
93
  @torch.inference_mode()
94
  def edit(self, init_image, source_prompt, target_prompt, num_steps, inject_step, guidance, seed):
95
+
96
  torch.cuda.empty_cache()
97
  seed = None
98
  # if seed == -1: