Spaces:
Runtime error
Runtime error
Update infer-web.py
Browse files- infer-web.py +11 -9
infer-web.py
CHANGED
|
@@ -1536,12 +1536,14 @@ with gr.Blocks() as app:
|
|
| 1536 |
# with gr.TabItem(i18n("点击查看交流、问题反馈群号")):
|
| 1537 |
# gr.Markdown(value=i18n("xxxxx"))
|
| 1538 |
|
| 1539 |
-
if config.iscolab:
|
| 1540 |
-
|
| 1541 |
-
else:
|
| 1542 |
-
|
| 1543 |
-
|
| 1544 |
-
|
| 1545 |
-
|
| 1546 |
-
|
| 1547 |
-
|
|
|
|
|
|
|
|
|
| 1536 |
# with gr.TabItem(i18n("点击查看交流、问题反馈群号")):
|
| 1537 |
# gr.Markdown(value=i18n("xxxxx"))
|
| 1538 |
|
| 1539 |
+
# if config.iscolab:
|
| 1540 |
+
|
| 1541 |
+
# else:
|
| 1542 |
+
# app.queue(concurrency_count=511, max_size=1022).launch(
|
| 1543 |
+
# server_name="0.0.0.0",
|
| 1544 |
+
# inbrowser=not config.noautoopen,
|
| 1545 |
+
# server_port=config.listen_port,
|
| 1546 |
+
# quiet=True,
|
| 1547 |
+
# )
|
| 1548 |
+
|
| 1549 |
+
app.queue(concurrency_count=511, max_size=1022).launch(debug=True)
|