Spaces:
Running
on
Zero
Running
on
Zero
VamooseBambel
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def reset_timer():
|
|
94 |
unload_timer = Timer(TIMEOUT_SECONDS, unload_model)
|
95 |
unload_timer.start()
|
96 |
|
97 |
-
@spaces.GPU(duration=
|
98 |
def generate_image(prompt, height, width, guidance_scale, pag_guidance_scale, num_inference_steps):
|
99 |
global global_model
|
100 |
try:
|
|
|
94 |
unload_timer = Timer(TIMEOUT_SECONDS, unload_model)
|
95 |
unload_timer.start()
|
96 |
|
97 |
+
@spaces.GPU(duration=90)
|
98 |
def generate_image(prompt, height, width, guidance_scale, pag_guidance_scale, num_inference_steps):
|
99 |
global global_model
|
100 |
try:
|