Spaces:
Running
Running
Upload 2 files
Browse files- app.py +18 -0
- requirements.txt +7 -0
app.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env python3
|
2 |
+
"""
|
3 |
+
Chatterbox Voice Cloning - Hugging Face Space
|
4 |
+
Main entry point for the application
|
5 |
+
"""
|
6 |
+
|
7 |
+
import sys
|
8 |
+
import os
|
9 |
+
|
10 |
+
# Add the voice_cloning directory to the path
|
11 |
+
sys.path.append(os.path.join(os.path.dirname(__file__), 'voice_cloning'))
|
12 |
+
|
13 |
+
# Import and run the main app
|
14 |
+
from voice_cloning.app import *
|
15 |
+
|
16 |
+
if __name__ == "__main__":
|
17 |
+
# Run the app
|
18 |
+
main()
|
requirements.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
chatterbox-tts==0.1.1
|
2 |
+
gradio>=4.0.0
|
3 |
+
torch>=1.10.0
|
4 |
+
torchaudio>=0.10.0
|
5 |
+
requests>=2.25.0
|
6 |
+
numpy>=1.21.0
|
7 |
+
requests
|