Spaces:
Sleeping
Sleeping
PhuongLT commited on
Commit ·
7a7d6aa
1
Parent(s): 9843bbb
fix bug
Browse files- app.py +0 -3
- packages.txt +2 -0
- requirements.txt +17 -10
app.py
CHANGED
|
@@ -46,9 +46,6 @@ textcleaner = TextCleaner()
|
|
| 46 |
# Config / model loading
|
| 47 |
# -----------------------------
|
| 48 |
from huggingface_hub import hf_hub_download
|
| 49 |
-
from dotenv import load_dotenv
|
| 50 |
-
load_dotenv()
|
| 51 |
-
HF_TOKEN = os.getenv("HF_TOKEN", None)
|
| 52 |
hf_hub_download(
|
| 53 |
repo_id="ltphuongunited/styletts2_vi",
|
| 54 |
filename="epoch_2nd_00058.pth",
|
|
|
|
| 46 |
# Config / model loading
|
| 47 |
# -----------------------------
|
| 48 |
from huggingface_hub import hf_hub_download
|
|
|
|
|
|
|
|
|
|
| 49 |
hf_hub_download(
|
| 50 |
repo_id="ltphuongunited/styletts2_vi",
|
| 51 |
filename="epoch_2nd_00058.pth",
|
packages.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
espeak-ng
|
| 2 |
+
ffmpeg
|
requirements.txt
CHANGED
|
@@ -1,10 +1,17 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
librosa
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
SoundFile
|
| 2 |
+
torchaudio
|
| 3 |
+
munch
|
| 4 |
+
torch
|
| 5 |
+
pydub
|
| 6 |
+
pyyaml
|
| 7 |
+
librosa
|
| 8 |
+
nltk
|
| 9 |
+
matplotlib
|
| 10 |
+
transformers
|
| 11 |
+
einops
|
| 12 |
+
einops-exts
|
| 13 |
+
tqdm
|
| 14 |
+
typing
|
| 15 |
+
typing-extensions
|
| 16 |
+
git+https://github.com/resemble-ai/monotonic_align.git
|
| 17 |
+
phonemizer
|