Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,5 +47,5 @@ def plex(goof,prompt):
|
|
47 |
return apol
|
48 |
|
49 |
iface = gr.Interface(fn=plex,inputs=[gr.Image(type="filepath"),gr.Textbox()], outputs=gr.Gallery(columns=2), title="Img2Img_SkyV22CntrlNet_CPU", description="Running on CPU, very slow!")
|
50 |
-
iface.queue(max_size=1)
|
51 |
iface.launch(max_threads=1)
|
|
|
47 |
return apol
|
48 |
|
49 |
iface = gr.Interface(fn=plex,inputs=[gr.Image(type="filepath"),gr.Textbox()], outputs=gr.Gallery(columns=2), title="Img2Img_SkyV22CntrlNet_CPU", description="Running on CPU, very slow!")
|
50 |
+
iface.queue(max_size=1,api_open=False)
|
51 |
iface.launch(max_threads=1)
|