ModuMLTECH commited on
Commit
a9e1eed
·
verified ·
1 Parent(s): 295c3b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = hf_hub_download(repo_id="ModuMLTECH/Trafic_congestion", filename="best.pt")
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