Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,7 @@ if True:
|
|
| 37 |
|
| 38 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/mmaudio_small_44k.pth", local_dir=model_path)
|
| 39 |
print(f"Model saved at: {file_path}")
|
|
|
|
| 40 |
|
| 41 |
model_path = "./MMAudio/ext_weights/"
|
| 42 |
|
|
@@ -44,6 +45,7 @@ if True:
|
|
| 44 |
print(f"Model saved at: {file_path}")
|
| 45 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/synchformer_state_dict.pth", local_dir=model_path)
|
| 46 |
print(f"Model saved at: {file_path}")
|
|
|
|
| 47 |
|
| 48 |
log = logging.getLogger()
|
| 49 |
|
|
|
|
| 37 |
|
| 38 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/mmaudio_small_44k.pth", local_dir=model_path)
|
| 39 |
print(f"Model saved at: {file_path}")
|
| 40 |
+
shutil.move("./MMAudio/weights/MMAudio/*", "./MMAudio/weights/")
|
| 41 |
|
| 42 |
model_path = "./MMAudio/ext_weights/"
|
| 43 |
|
|
|
|
| 45 |
print(f"Model saved at: {file_path}")
|
| 46 |
file_path = hf_hub_download(repo_id="lshzhm/DeepAudio-V1", filename="MMAudio/synchformer_state_dict.pth", local_dir=model_path)
|
| 47 |
print(f"Model saved at: {file_path}")
|
| 48 |
+
shutil.move("./MMAudio/ext_weights/MMAudio/*", "./MMAudio/ext_weights/")
|
| 49 |
|
| 50 |
log = logging.getLogger()
|
| 51 |
|