Spaces:
Runtime error
Runtime error
Commit ·
5362889
1
Parent(s): cd21f4a
fix tts
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ from PIL import Image
|
|
| 12 |
import random
|
| 13 |
import re
|
| 14 |
|
|
|
|
| 15 |
# Clone VITS if not already present
|
| 16 |
if not os.path.exists("vits"):
|
| 17 |
subprocess.run(["git", "clone", "https://github.com/jaywalnut310/vits.git"])
|
|
|
|
| 12 |
import random
|
| 13 |
import re
|
| 14 |
|
| 15 |
+
subprocess.run(["pip", "install", "-U", "scipy", "soundfile", "torch", "numpy", "gradio", "huggingface_hub", "Cython"])
|
| 16 |
# Clone VITS if not already present
|
| 17 |
if not os.path.exists("vits"):
|
| 18 |
subprocess.run(["git", "clone", "https://github.com/jaywalnut310/vits.git"])
|