Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,15 +27,16 @@ if True:
|
|
27 |
|
28 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/mmaudio_small_44k.pth", local_dir=model_path)
|
29 |
print(f"Model saved at: {file_path}")
|
30 |
-
shutil.move("./MMAudio/weights/MMAudio
|
31 |
|
32 |
model_path = "./MMAudio/ext_weights/"
|
33 |
|
34 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/v1-44.pth", local_dir=model_path)
|
35 |
print(f"Model saved at: {file_path}")
|
|
|
36 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/synchformer_state_dict.pth", local_dir=model_path)
|
37 |
print(f"Model saved at: {file_path}")
|
38 |
-
shutil.move("./MMAudio/ext_weights/MMAudio
|
39 |
|
40 |
|
41 |
model_path = "./F5-TTS/ckpts/v2c/"
|
|
|
27 |
|
28 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/mmaudio_small_44k.pth", local_dir=model_path)
|
29 |
print(f"Model saved at: {file_path}")
|
30 |
+
shutil.move("./MMAudio/weights/MMAudio/mmaudio_small_44k.pth", "./MMAudio/weights/")
|
31 |
|
32 |
model_path = "./MMAudio/ext_weights/"
|
33 |
|
34 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/v1-44.pth", local_dir=model_path)
|
35 |
print(f"Model saved at: {file_path}")
|
36 |
+
shutil.move("./MMAudio/ext_weights/MMAudio/v1-44.pth", "./MMAudio/ext_weights/")
|
37 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/synchformer_state_dict.pth", local_dir=model_path)
|
38 |
print(f"Model saved at: {file_path}")
|
39 |
+
shutil.move("./MMAudio/ext_weights/MMAudio/synchformer_state_dict.pth", "./MMAudio/ext_weights/")
|
40 |
|
41 |
|
42 |
model_path = "./F5-TTS/ckpts/v2c/"
|