Spaces:
Sleeping
Sleeping
Commit
·
4b46221
1
Parent(s):
8b158ed
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ from TTS.tts.configs.xtts_config import XttsConfig
|
|
32 |
from TTS.tts.models.xtts import Xtts
|
33 |
from TTS.utils.generic_utils import get_user_data_dir
|
34 |
|
35 |
-
HF_TOKEN = os.environ.get("
|
36 |
|
37 |
from huggingface_hub import HfApi
|
38 |
from huggingface_hub import hf_hub_download
|
@@ -600,6 +600,15 @@ examples = [
|
|
600 |
True,
|
601 |
False,
|
602 |
True,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
603 |
],
|
604 |
]
|
605 |
|
|
|
32 |
from TTS.tts.models.xtts import Xtts
|
33 |
from TTS.utils.generic_utils import get_user_data_dir
|
34 |
|
35 |
+
HF_TOKEN = os.environ.get("HF_TOKEN")
|
36 |
|
37 |
from huggingface_hub import HfApi
|
38 |
from huggingface_hub import hf_hub_download
|
|
|
600 |
True,
|
601 |
False,
|
602 |
True,
|
603 |
+
], [
|
604 |
+
"سلام صبح بخیز بزخیز و نخور غم جهان گذرا",
|
605 |
+
"fa",
|
606 |
+
"examples/male.wav",
|
607 |
+
None,
|
608 |
+
False,
|
609 |
+
True,
|
610 |
+
False,
|
611 |
+
True,
|
612 |
],
|
613 |
]
|
614 |
|