Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def get_model(model):
|
|
108 |
return gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(interactive=True)
|
109 |
|
110 |
|
111 |
-
@spaces.GPU(enable_queue=True)
|
112 |
def generate(
|
113 |
model,
|
114 |
inpaint_image,
|
|
|
108 |
return gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(interactive=True)
|
109 |
|
110 |
|
111 |
+
@spaces.GPU(duration=120, enable_queue=True)
|
112 |
def generate(
|
113 |
model,
|
114 |
inpaint_image,
|