lshzhm commited on
Commit
09c0809
·
1 Parent(s): 8c0a78a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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/*", "./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
  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/*", "./MMAudio/ext_weights/")
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/"