jayparmr commited on
Commit
2a21462
·
1 Parent(s): fa6c160

Update infer-web.py

Browse files
Files changed (1) hide show
  1. 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
- app.queue(concurrency_count=511, max_size=1022).launch(share=True)
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
- )
 
 
 
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)