Spaces:
Runtime error
Runtime error
Update app.py
Browse files12345678import gradio as grfrom ultralytics import YOLO# Define function to perform prediction with YOLOv9 modeldef predict_image(image, model_path, image_size, conf_threshold, iou_threshold):# Load YOLO modelmodel = YOLO(model_path)123456789101112import gradio as grfrom ultralytics import YOLO# Import YOLOv9import yolov9# Define function to perform prediction with YOLOv9 modeldef predict_image(image, model_path, image_size, conf_threshold, iou_threshold):# Load YOLO modelmodel = YOLO(model_path)
app.py+4