mateuseap commited on
Commit
29f5147
1 Parent(s): 7329ea0

fix(app.py): adjust print content in download_models() function

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,9 +63,9 @@ def download_models():
63
  if response.status_code == 200:
64
  with open('./rmvpe.pt', 'wb') as f:
65
  f.write(response.content)
66
- print("Downloaded hubert base model file successfully. File saved to ./rmvpe.pt.")
67
  else:
68
- raise Exception("Failed to download hubert base model file. Status code: " + str(response.status_code) + ".")
69
 
70
  download_models()
71
 
 
63
  if response.status_code == 200:
64
  with open('./rmvpe.pt', 'wb') as f:
65
  f.write(response.content)
66
+ print("Downloaded rmvpe model file successfully. File saved to ./rmvpe.pt.")
67
  else:
68
+ raise Exception("Failed to download rmvpe model file. Status code: " + str(response.status_code) + ".")
69
 
70
  download_models()
71