Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,5 +18,5 @@ def plex(image_url,stips):
|
|
| 18 |
return apol
|
| 19 |
|
| 20 |
iface = gr.Interface(fn=plex, inputs=[gr.Image(label="img",type="filepath"), gr.Slider(label="num inference steps", minimum=1, step=1, maximum=5, value=5)], outputs=gr.Gallery(label="out", columns=2))
|
| 21 |
-
iface.queue(max_size=1)
|
| 22 |
iface.launch(max_threads=1)
|
|
|
|
| 18 |
return apol
|
| 19 |
|
| 20 |
iface = gr.Interface(fn=plex, inputs=[gr.Image(label="img",type="filepath"), gr.Slider(label="num inference steps", minimum=1, step=1, maximum=5, value=5)], outputs=gr.Gallery(label="out", columns=2))
|
| 21 |
+
iface.queue(max_size=1,api_open=False)
|
| 22 |
iface.launch(max_threads=1)
|