Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def main():
|
|
| 59 |
st.set_page_config(page_title="Détecteur de Véhicules", page_icon="🚗", layout="wide")
|
| 60 |
st.title("🚗 Détection et comptage de Véhicules sur l'Autoroute de l'Avenir")
|
| 61 |
|
| 62 |
-
model_path =
|
| 63 |
if not os.path.exists(model_path):
|
| 64 |
st.error("❌ Modèle YOLO introuvable!")
|
| 65 |
return
|
|
|
|
| 59 |
st.set_page_config(page_title="Détecteur de Véhicules", page_icon="🚗", layout="wide")
|
| 60 |
st.title("🚗 Détection et comptage de Véhicules sur l'Autoroute de l'Avenir")
|
| 61 |
|
| 62 |
+
model_path = "best.pt"
|
| 63 |
if not os.path.exists(model_path):
|
| 64 |
st.error("❌ Modèle YOLO introuvable!")
|
| 65 |
return
|