Spaces:
Runtime error
Runtime error
add queue max_size=10.
Browse files
README.md
CHANGED
@@ -5,9 +5,9 @@ colorFrom: blue
|
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.23.0
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
-
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.23.0
|
8 |
+
python_version: 3.10.9
|
9 |
app_file: app.py
|
10 |
pinned: false
|
|
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -275,5 +275,5 @@ demo = gr.Interface(
|
|
275 |
]
|
276 |
)
|
277 |
|
278 |
-
demo.queue(concurrency_count=2)
|
279 |
demo.launch()
|
|
|
275 |
]
|
276 |
)
|
277 |
|
278 |
+
demo.queue(api_open=False, concurrency_count=2, max_size=10)
|
279 |
demo.launch()
|