fffiloni commited on
Commit
7dac080
·
verified ·
1 Parent(s): 7aa7a12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1626,7 +1626,7 @@ if __name__ == "__main__":
1626
 
1627
  # GRADIO MODE
1628
 
1629
- @spaces.GPU()
1630
  def infer(prompt, resolution, num_inference_steps, guidance_scale, seed, use_progressive_upscaling, progress=gr.Progress(track_tqdm=True)):
1631
  set_seed(seed)
1632
  width,height = list(map(int, resolution.split(',')))
 
1626
 
1627
  # GRADIO MODE
1628
 
1629
+ @spaces.GPU(duration=90)
1630
  def infer(prompt, resolution, num_inference_steps, guidance_scale, seed, use_progressive_upscaling, progress=gr.Progress(track_tqdm=True)):
1631
  set_seed(seed)
1632
  width,height = list(map(int, resolution.split(',')))