Updated
Browse files
app.py
CHANGED
|
@@ -1510,11 +1510,13 @@ with gr.Blocks(title="RVC WebUI") as app:
|
|
| 1510 |
gr.Markdown(traceback.format_exc())
|
| 1511 |
|
| 1512 |
if config.iscolab:
|
| 1513 |
-
app.queue(concurrency_count=511, max_size=1022).launch(share=True)
|
| 1514 |
else:
|
| 1515 |
-
app.queue(concurrency_count=511, max_size=1022).launch(
|
| 1516 |
-
server_name="0.0.0.0",
|
| 1517 |
-
inbrowser=not config.noautoopen,
|
| 1518 |
-
server_port=config.listen_port,
|
| 1519 |
-
quiet=True,
|
| 1520 |
)
|
|
|
|
|
|
|
|
|
| 1510 |
gr.Markdown(traceback.format_exc())
|
| 1511 |
|
| 1512 |
if config.iscolab:
|
| 1513 |
+
app.queue(concurrency_count=511, max_size=1022)#.launch(share=True)
|
| 1514 |
else:
|
| 1515 |
+
app.queue(concurrency_count=511, max_size=1022)#.launch(
|
| 1516 |
+
# server_name="0.0.0.0",
|
| 1517 |
+
# inbrowser=not config.noautoopen,
|
| 1518 |
+
# server_port=config.listen_port,
|
| 1519 |
+
# quiet=True,
|
| 1520 |
)
|
| 1521 |
+
if __name__ == "__main__":
|
| 1522 |
+
app.launch()
|