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

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=180)
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=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