Update app.py
Browse files
app.py
CHANGED
|
@@ -1376,7 +1376,12 @@ ul.options {
|
|
| 1376 |
else:
|
| 1377 |
print("Queue mode disabled - progress bars will not be shown.")
|
| 1378 |
|
| 1379 |
-
demo.launch(inbrowser=app_config.autolaunch,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1380 |
# ,ssr_mode=False) # [Gradio 5.x] ERROR: Exception in ASGI application
|
| 1381 |
|
| 1382 |
# Clean up
|
|
|
|
| 1376 |
else:
|
| 1377 |
print("Queue mode disabled - progress bars will not be shown.")
|
| 1378 |
|
| 1379 |
+
demo.launch(inbrowser=app_config.autolaunch,
|
| 1380 |
+
share=app_config.share,
|
| 1381 |
+
server_name=app_config.server_name,
|
| 1382 |
+
server_port=find_free_port(),
|
| 1383 |
+
allowed_paths=["/content/drive/MyDrive/Whisper", "/content/whisper-webui", "/tmp"]
|
| 1384 |
+
)
|
| 1385 |
# ,ssr_mode=False) # [Gradio 5.x] ERROR: Exception in ASGI application
|
| 1386 |
|
| 1387 |
# Clean up
|