Spaces:
Runtime error
Runtime error
Update demo_gr.py
Browse files- demo_gr.py +1 -1
demo_gr.py
CHANGED
@@ -1234,7 +1234,7 @@ def main(server_port: int | None = None, share: bool = True):
|
|
1234 |
)
|
1235 |
app.unload(stop_server_and_abort_event)
|
1236 |
|
1237 |
-
app.queue(max_size=
|
1238 |
share=True,
|
1239 |
server_port=server_port,
|
1240 |
show_error=True,
|
|
|
1234 |
)
|
1235 |
app.unload(stop_server_and_abort_event)
|
1236 |
|
1237 |
+
app.queue(max_size=1).launch(
|
1238 |
share=True,
|
1239 |
server_port=server_port,
|
1240 |
show_error=True,
|