Spaces:
Sleeping
Sleeping
Update app.py
Browse files20 unmodified lines212223242425262720 unmodified lines active_model = available_models[model_choice]
# Use the active model for tracking results = active_model.track(frame, conf=0.4, persist=True, imgsz=320) results = active_model.track(frame, conf=0.4, persist=True)
for r in results: # Check if boxes exist AND if the tracker has assigned IDs yetapp.py+1-1