Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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(',')))
|