ameythakur commited on
Commit
e7387fc
·
verified ·
1 Parent(s): ad18ffc

Deepfake-Audio

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +12 -0
README.md CHANGED
@@ -6,7 +6,7 @@ colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 6.5.1
8
  python_version: 3.11
9
- app_file: Source Code/app.py
10
  pinned: false
11
  license: mit
12
  short_description: A neural voice cloning studio powered by SV2TTS technology
 
6
  sdk: gradio
7
  sdk_version: 6.5.1
8
  python_version: 3.11
9
+ app_file: app.py
10
  pinned: false
11
  license: mit
12
  short_description: A neural voice cloning studio powered by SV2TTS technology
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import sys
3
+
4
+ # Compute the path to 'Source Code' and add it to sys.path
5
+ source_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "Source Code")
6
+ sys.path.insert(0, source_dir)
7
+
8
+ # Change the current working directory to 'Source Code'
9
+ os.chdir(source_dir)
10
+
11
+ # Import the main app logic from Source Code/app.py
12
+ import app