Update app.py
Browse files
app.py
CHANGED
@@ -3113,21 +3113,11 @@ def GradioRun(app):
|
|
3113 |
config.iscolab or config.paperspace
|
3114 |
):
|
3115 |
app.queue(concurrency_count=concurrency_count, max_size=max_size).launch(
|
3116 |
-
server_name="0.0.0.0",
|
3117 |
-
inbrowser=not config.noautoopen,
|
3118 |
-
server_port=config.listen_port,
|
3119 |
-
quiet=True,
|
3120 |
favicon_path="./images/icon.png",
|
3121 |
-
share=share_gradio_link,
|
3122 |
)
|
3123 |
else:
|
3124 |
app.queue(concurrency_count=concurrency_count, max_size=max_size).launch(
|
3125 |
-
server_name="0.0.0.0",
|
3126 |
-
inbrowser=not config.noautoopen,
|
3127 |
-
server_port=config.listen_port,
|
3128 |
-
quiet=True,
|
3129 |
favicon_path=".\images\icon.png",
|
3130 |
-
share=share_gradio_link,
|
3131 |
)
|
3132 |
|
3133 |
if __name__ == "__main__":
|
|
|
3113 |
config.iscolab or config.paperspace
|
3114 |
):
|
3115 |
app.queue(concurrency_count=concurrency_count, max_size=max_size).launch(
|
|
|
|
|
|
|
|
|
3116 |
favicon_path="./images/icon.png",
|
|
|
3117 |
)
|
3118 |
else:
|
3119 |
app.queue(concurrency_count=concurrency_count, max_size=max_size).launch(
|
|
|
|
|
|
|
|
|
3120 |
favicon_path=".\images\icon.png",
|
|
|
3121 |
)
|
3122 |
|
3123 |
if __name__ == "__main__":
|