Spaces:
Sleeping
Sleeping
Update app.py
Browse files5 unmodified lines678910111213145 unmodified linesMODEL_REPO = "FERJI/DetectNano2"KF_API_KEY = os.getenv("KF_API_KEY")if os.path.exists("DetectNano2"):os.system("rm -rf DetectNano2")clone_status = os.system(f"git clone https://user:{KF_API_KEY}@huggingface.co/{MODEL_REPO}")from ultralytics import YOLOimport cv25 unmodified lines678910111213145 unmodified linesMODEL_REPO = "FERJI/DetectNano2"KF_API_KEY = os.getenv("KF_API_KEY")if not os.path.exists("DetectNano2"):clone_status = os.system(f"git clone https://user:{KF_API_KEY}@huggingface.co/{MODEL_REPO}")from ultralytics import YOLOimport cv2
app.py+3-3