Spaces:
Running on Zero
Running on Zero
prismaudio-project commited on
Commit ·
be7e0ef
1
Parent(s): 8031e67
add
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ SAMPLE_RATE = 44100
|
|
| 47 |
|
| 48 |
# ==================== Model Path Configuration ====================
|
| 49 |
from huggingface_hub import snapshot_download
|
| 50 |
-
snapshot_download(repo_id="FunAudioLLM/PrismAudio", local_dir="./ckpts")
|
| 51 |
|
| 52 |
MODEL_CONFIG_PATH = "PrismAudio/configs/model_configs/prismaudio.json"
|
| 53 |
CKPT_PATH = "ckpts/prismaudio.ckpt"
|
|
|
|
| 47 |
|
| 48 |
# ==================== Model Path Configuration ====================
|
| 49 |
from huggingface_hub import snapshot_download
|
| 50 |
+
snapshot_download(repo_id="FunAudioLLM/PrismAudio", local_dir="./ckpts", token=os.environ.get("HF_TOKEN"))
|
| 51 |
|
| 52 |
MODEL_CONFIG_PATH = "PrismAudio/configs/model_configs/prismaudio.json"
|
| 53 |
CKPT_PATH = "ckpts/prismaudio.ckpt"
|