Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
568bc84
1
Parent(s):
b3ea40b
fix bugs
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ auth_token = os.environ.get("TOKEN_FROM_SECRET")
|
|
| 21 |
# Audio part
|
| 22 |
##########################################
|
| 23 |
from huggingface_hub import snapshot_download
|
| 24 |
-
snapshot_download(repo_id="Emova-ollm/emova_speech_tokenizer", token=auth_token)
|
| 25 |
|
| 26 |
from emova_speech_tokenizer.speech_utils import get_S2U_ckpt_config_path, load_S2U_model, s2u_extract_unit_demo
|
| 27 |
from emova_speech_tokenizer.speech_utils import load_condition_centroid, get_U2S_config_checkpoint_file, load_U2S_model, synthesis
|
|
|
|
| 21 |
# Audio part
|
| 22 |
##########################################
|
| 23 |
from huggingface_hub import snapshot_download
|
| 24 |
+
snapshot_download(repo_id="Emova-ollm/emova_speech_tokenizer", local_dir='./emova_speech_tokenizer', token=auth_token)
|
| 25 |
|
| 26 |
from emova_speech_tokenizer.speech_utils import get_S2U_ckpt_config_path, load_S2U_model, s2u_extract_unit_demo
|
| 27 |
from emova_speech_tokenizer.speech_utils import load_condition_centroid, get_U2S_config_checkpoint_file, load_U2S_model, synthesis
|