Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
|
@@ -684,7 +684,7 @@ if __name__ == '__main__':
|
|
| 684 |
tts_voice
|
| 685 |
]
|
| 686 |
)
|
| 687 |
-
if spaces is True:
|
| 688 |
-
app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"])
|
| 689 |
-
else:
|
| 690 |
-
|
|
|
|
| 684 |
tts_voice
|
| 685 |
]
|
| 686 |
)
|
| 687 |
+
# if spaces is True:
|
| 688 |
+
# app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"])
|
| 689 |
+
# else:
|
| 690 |
+
app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"], share=False, server_name="0.0.0.0", server_port=7860)
|