wjs0725 commited on
Commit
74a9853
1 Parent(s): b95d1a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -79,7 +79,6 @@ class FluxEditor:
79
  @torch.inference_mode()
80
  @spaces.GPU(duration=60)
81
  def edit(self, init_image, source_prompt, target_prompt, num_steps, inject_step, guidance, seed):
82
- torch.cuda.empty_cache()
83
  seed = None
84
  # if seed == -1:
85
  # seed = None
 
79
  @torch.inference_mode()
80
  @spaces.GPU(duration=60)
81
  def edit(self, init_image, source_prompt, target_prompt, num_steps, inject_step, guidance, seed):
 
82
  seed = None
83
  # if seed == -1:
84
  # seed = None