Spaces:
Runtime error
Runtime error
fix(app.py): adjust print content in download_models() function
Browse files
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
|
67 |
else:
|
68 |
-
raise Exception("Failed to download
|
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 |
|