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,
|
@@ -375,4 +375,4 @@ with gr.Blocks(title="Fluently Playground", css=css) as demo:
|
|
375 |
)
|
376 |
|
377 |
if __name__ == "__main__":
|
378 |
-
demo.queue(max_size=
|
|
|
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=70, enable_queue=True)
|
115 |
def generate(
|
116 |
model,
|
117 |
inpaint_image,
|
|
|
375 |
)
|
376 |
|
377 |
if __name__ == "__main__":
|
378 |
+
demo.queue(max_size=50).launch(show_api=False, debug=False)
|