Spaces:
Running
on
Zero
Running
on
Zero
Increase max size of queue
#8
by
multimodalart
HF Staff
- opened
hg_app.py
CHANGED
|
@@ -418,6 +418,6 @@ if __name__ == '__main__':
|
|
| 418 |
app.mount("/static", StaticFiles(directory=static_dir), name="static")
|
| 419 |
|
| 420 |
demo = build_app()
|
| 421 |
-
demo.queue(max_size=
|
| 422 |
app = gr.mount_gradio_app(app, demo, path="/")
|
| 423 |
uvicorn.run(app, host=IP, port=PORT)
|
|
|
|
| 418 |
app.mount("/static", StaticFiles(directory=static_dir), name="static")
|
| 419 |
|
| 420 |
demo = build_app()
|
| 421 |
+
demo.queue(max_size=10)
|
| 422 |
app = gr.mount_gradio_app(app, demo, path="/")
|
| 423 |
uvicorn.run(app, host=IP, port=PORT)
|