Spaces:
Sleeping
Sleeping
Commit
·
7f24adb
1
Parent(s):
35525fe
small fixes
Browse files
app.py
CHANGED
|
@@ -29,11 +29,12 @@ import soundfile as sf
|
|
| 29 |
|
| 30 |
from model import get_pretrained_model, language_to_models
|
| 31 |
|
| 32 |
-
hint_filename = f"{uuid.uuid4()}.wav"
|
| 33 |
os.system(
|
| 34 |
f"""
|
| 35 |
-
wget https://huggingface.co/spaces/k2-fsa/text-to-speech/resolve/main/hint.wav
|
| 36 |
-
|
|
|
|
| 37 |
"""
|
| 38 |
)
|
| 39 |
|
|
|
|
| 29 |
|
| 30 |
from model import get_pretrained_model, language_to_models
|
| 31 |
|
| 32 |
+
hint_filename = f"/tmp/{uuid.uuid4()}.wav"
|
| 33 |
os.system(
|
| 34 |
f"""
|
| 35 |
+
wget -O {hint_filename} https://huggingface.co/spaces/k2-fsa/text-to-speech/resolve/main/hint.wav
|
| 36 |
+
ls -lh *.wav
|
| 37 |
+
ls -lh /tmp/*.wav
|
| 38 |
"""
|
| 39 |
)
|
| 40 |
|