Spaces:
Sleeping
Sleeping
Update app.py
Browse files4 unmodified lines5678910114 unmodified lines# 1. PRE-LOAD BOTH MODELS INTO A DICTIONARY# This ensures they are only loaded into memory once at startupavailable_models = {"Model 1": YOLO("best.pt"),"Model 2": YOLO("best1.onnx")}4 unmodified lines5678910114 unmodified lines# 1. PRE-LOAD BOTH MODELS INTO A DICTIONARY# This ensures they are only loaded into memory once at startupavailable_models = {"Model 1": YOLO("best_openvino_model"),"Model 2": YOLO("best1.onnx")}
app.py+1-1