wjs0725 commited on
Commit
b95d1a4
1 Parent(s): 6ffa574

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ class FluxEditor:
77
  self.model.cuda()
78
 
79
  @torch.inference_mode()
80
- @spaces.GPU(duration=140)
81
  def edit(self, init_image, source_prompt, target_prompt, num_steps, inject_step, guidance, seed):
82
  torch.cuda.empty_cache()
83
  seed = None
 
77
  self.model.cuda()
78
 
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