Upload app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ from pim_module import PluginMoodel # Assure-toi que ce fichier est présent
|
|
| 17 |
# === Téléchargement automatique depuis Google Drive ===
|
| 18 |
if not os.path.exists("weights.pt"):
|
| 19 |
print("Téléchargement des poids depuis Google Drive avec gdown...")
|
| 20 |
-
file_id = "
|
| 21 |
url = f"https://drive.google.com/uc?id={file_id}"
|
| 22 |
gdown.download(url, "weights.pt", quiet=False)
|
| 23 |
|
|
|
|
| 17 |
# === Téléchargement automatique depuis Google Drive ===
|
| 18 |
if not os.path.exists("weights.pt"):
|
| 19 |
print("Téléchargement des poids depuis Google Drive avec gdown...")
|
| 20 |
+
file_id = "10nhim7twcKEGB16jVilPQGW0CrKo4jOY"
|
| 21 |
url = f"https://drive.google.com/uc?id={file_id}"
|
| 22 |
gdown.download(url, "weights.pt", quiet=False)
|
| 23 |
|