ameythakur commited on
Commit
b0e6a6e
·
verified ·
1 Parent(s): 042ac98

Deepfake-Audio

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -10,3 +10,12 @@ os.chdir(source_dir)
10
 
11
  # Import the main app logic from Source Code/app.py
12
  import app
 
 
 
 
 
 
 
 
 
 
10
 
11
  # Import the main app logic from Source Code/app.py
12
  import app
13
+
14
+ # Manually trigger the Gradio launch, because importing the module bypasses the __main__ block
15
+ app.demo.queue().launch(
16
+ server_name="0.0.0.0",
17
+ server_port=7860,
18
+ show_error=True,
19
+ pwa=True,
20
+ allowed_paths=[str(app.DATASET_DIR)]
21
+ )