mirror of
https://github.com/jasonppy/VoiceCraft.git
synced 2025-06-05 21:49:11 +02:00
Fixing, when gradio download encodec model, will be save on default folder on the folder from the argument
This commit is contained in:
@@ -99,7 +99,7 @@ def load_models(whisper_backend_name, whisper_model_name, alignment_model_name,
|
||||
|
||||
encodec_fn = f"{MODELS_PATH}/encodec_4cb2048_giga.th"
|
||||
if not os.path.exists(encodec_fn):
|
||||
os.system(f"wget https://huggingface.co/pyp1/VoiceCraft/resolve/main/encodec_4cb2048_giga.th")
|
||||
os.system(f"wget https://huggingface.co/pyp1/VoiceCraft/resolve/main/encodec_4cb2048_giga.th -O " + encodec_fn)
|
||||
|
||||
voicecraft_model = {
|
||||
"config": config,
|
||||
|
Reference in New Issue
Block a user