Spaces:
Running
Running
GitHub Action
commited on
Commit
·
a4e9ea3
1
Parent(s):
b453cca
Sync ling-space changes from GitHub commit 5a3d4b3
Browse files
app.py
CHANGED
|
@@ -109,8 +109,12 @@ if __name__ == "__main__":
|
|
| 109 |
js="() => {window.dispatchEvent(new CustomEvent('appStart')); console.log('appStart'); return {};}"
|
| 110 |
)
|
| 111 |
|
|
|
|
|
|
|
| 112 |
# Launch the Gradio application
|
| 113 |
demo.launch(theme=gr.themes.Default(),
|
|
|
|
|
|
|
| 114 |
css=CSS,
|
| 115 |
head="",
|
| 116 |
head_paths=['./static/toastify.html', './static/app.html'])
|
|
|
|
| 109 |
js="() => {window.dispatchEvent(new CustomEvent('appStart')); console.log('appStart'); return {};}"
|
| 110 |
)
|
| 111 |
|
| 112 |
+
demo.queue(default_concurrency_limit=32,
|
| 113 |
+
max_size=128)
|
| 114 |
# Launch the Gradio application
|
| 115 |
demo.launch(theme=gr.themes.Default(),
|
| 116 |
+
ssr_mode=False,
|
| 117 |
+
max_threads=64,
|
| 118 |
css=CSS,
|
| 119 |
head="",
|
| 120 |
head_paths=['./static/toastify.html', './static/app.html'])
|