Ilaria
commited on
Commit
•
e746770
1
Parent(s):
7d620ef
fixed translation
Browse files
app.py
CHANGED
@@ -1358,7 +1358,7 @@ def download_from_url(url, model):
|
|
1358 |
shutil.copy(file_path,f'./weights/{model}.pth')
|
1359 |
shutil.rmtree("zips")
|
1360 |
shutil.rmtree("unzips")
|
1361 |
-
return "
|
1362 |
except:
|
1363 |
return "Errore, il modello non si è scaricato correttamente."
|
1364 |
def success_message(face):
|
|
|
1358 |
shutil.copy(file_path,f'./weights/{model}.pth')
|
1359 |
shutil.rmtree("zips")
|
1360 |
shutil.rmtree("unzips")
|
1361 |
+
return "Model downloaded, you can go back to the inference page!"
|
1362 |
except:
|
1363 |
return "Errore, il modello non si è scaricato correttamente."
|
1364 |
def success_message(face):
|