Spaces:
Running
Running
Update app.py
Browse files11 unmodified lines1213141516171819202180 unmodified lines10210310410510610710811 unmodified lines# Load ModelsMODELS = {"CalvingCatcherV4": YOLO("calvingcatcherV4.pt"),"CalvingCatcherV3": YOLO("calvingcatcherV3.pt"),"CalvingCatcherV2": YOLO("calvingcatcherV2.pt"),"CalvingCatcherV1": YOLO("calvingcatcherV1.pt")}# --- Setup Example Images ---80 unmodified linesinfo="Higher values = more certainty, fewer detections.")initial_model = "CalvingCatcherV4"initial_choices = list(MODELS[initial_model].names.values())class_selector = gr.CheckboxGroup(11 unmodified lines1213141516171819202180 unmodified lines10210310410510610710811 unmodified lines# Load ModelsMODELS = {"CalvingCatcherV5": YOLO("calvingcatcherV5.pt"),"CalvingCatcherV4": YOLO("calvingcatcherV4.pt"),"CalvingCatcherV3": YOLO("calvingcatcherV3.pt"),"CalvingCatcherV2": YOLO("calvingcatcherV2.pt")}# --- Setup Example Images ---80 unmodified linesinfo="Higher values = more certainty, fewer detections.")initial_model = "CalvingCatcherV5"initial_choices = list(MODELS[initial_model].names.values())class_selector = gr.CheckboxGroup(
app.py+3-3