ngjianqing9789 commited on
Commit
b338c18
·
verified ·
1 Parent(s): 298c3a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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, share=app_config.share, server_name=app_config.server_name, server_port=find_free_port())
 
 
 
 
 
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