Spaces:
Running
Running
Commit
·
dabf2c7
1
Parent(s):
81ccd64
Upload folder using huggingface_hub
Browse files
server.py
CHANGED
@@ -143,10 +143,9 @@ def create_interface():
|
|
143 |
shared.gradio['interface'].queue(concurrency_count=64)
|
144 |
with OpenMonkeyPatch():
|
145 |
shared.gradio['interface'].launch(
|
146 |
-
|
147 |
prevent_thread_lock=True,
|
148 |
-
share=True,
|
149 |
-
|
150 |
server_name=None if not shared.args.listen else (shared.args.listen_host or '0.0.0.0'),
|
151 |
server_port=shared.args.listen_port,
|
152 |
inbrowser=shared.args.auto_launch,
|
|
|
143 |
shared.gradio['interface'].queue(concurrency_count=64)
|
144 |
with OpenMonkeyPatch():
|
145 |
shared.gradio['interface'].launch(
|
|
|
146 |
prevent_thread_lock=True,
|
147 |
+
# share=True,
|
148 |
+
share=shared.args.share,
|
149 |
server_name=None if not shared.args.listen else (shared.args.listen_host or '0.0.0.0'),
|
150 |
server_port=shared.args.listen_port,
|
151 |
inbrowser=shared.args.auto_launch,
|