Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def get_model(model):
|
|
111 |
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)
|
112 |
|
113 |
|
114 |
-
@spaces.GPU(duration=
|
115 |
def generate(
|
116 |
model,
|
117 |
inpaint_image,
|
|
|
111 |
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)
|
112 |
|
113 |
|
114 |
+
@spaces.GPU(duration=50, enable_queue=True)
|
115 |
def generate(
|
116 |
model,
|
117 |
inpaint_image,
|