Spaces:
Runtime error
Runtime error
mrfakename
commited on
Commit
β’
7ffbb2d
1
Parent(s):
1eb399c
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
# Demo also available on HF Spaces: https://huggingface.co/spaces/mrfakename/MeloTTS
|
3 |
import gradio as gr
|
4 |
import os, torch, io
|
5 |
-
|
6 |
-
print("Make sure you've downloaded unidic (python -m unidic download) for this WebUI to work.")
|
7 |
from melo.api import TTS
|
8 |
speed = 1.0
|
9 |
import tempfile
|
|
|
2 |
# Demo also available on HF Spaces: https://huggingface.co/spaces/mrfakename/MeloTTS
|
3 |
import gradio as gr
|
4 |
import os, torch, io
|
5 |
+
os.system('python -m unidic download')
|
6 |
+
# print("Make sure you've downloaded unidic (python -m unidic download) for this WebUI to work.")
|
7 |
from melo.api import TTS
|
8 |
speed = 1.0
|
9 |
import tempfile
|