Spaces:
Sleeping
Sleeping
Commit ·
0d8b86e
1
Parent(s): b452f64
Removed deprecated concurrency from demo
Browse files
app.py
CHANGED
|
@@ -1102,9 +1102,6 @@ with gr.Blocks(
|
|
| 1102 |
outputs=[single_output]
|
| 1103 |
)
|
| 1104 |
|
| 1105 |
-
# Configure for deployment
|
| 1106 |
-
demo.queue(max_size=10, concurrency_count=2)
|
| 1107 |
-
|
| 1108 |
# Mount Gradio on FastAPI
|
| 1109 |
app = gr.mount_gradio_app(api_app, demo, path="/")
|
| 1110 |
|
|
|
|
| 1102 |
outputs=[single_output]
|
| 1103 |
)
|
| 1104 |
|
|
|
|
|
|
|
|
|
|
| 1105 |
# Mount Gradio on FastAPI
|
| 1106 |
app = gr.mount_gradio_app(api_app, demo, path="/")
|
| 1107 |
|