Spaces:
Sleeping
Sleeping
Commit
•
d15bf21
1
Parent(s):
cbf0849
fixed translation for the error during the model download
Browse files
app.py
CHANGED
@@ -1360,7 +1360,7 @@ def download_from_url(url, model):
|
|
1360 |
shutil.rmtree("unzips")
|
1361 |
return "Model downloaded, you can go back to the inference page!"
|
1362 |
except:
|
1363 |
-
return "
|
1364 |
def success_message(face):
|
1365 |
return f'{face.name} has been uploaded.', 'None'
|
1366 |
def mouth(size, face, voice, faces):
|
|
|
1360 |
shutil.rmtree("unzips")
|
1361 |
return "Model downloaded, you can go back to the inference page!"
|
1362 |
except:
|
1363 |
+
return "ERROR - The download failed. Check if the link is valid."
|
1364 |
def success_message(face):
|
1365 |
return f'{face.name} has been uploaded.', 'None'
|
1366 |
def mouth(size, face, voice, faces):
|