Spaces:
Sleeping
Sleeping
Update app.py
Browse files3 unmodified lines45678910111213141516171819203 unmodified linesimport PIL.Image as Imagefrom ultralytics import ASSETS, YOLOmodel_path = 'new_data_improved_object_detector.pt'model = YOLO(model_path)from PIL import Imageimport gradio as gr# object_detector_model_path = 'new_data_improved_object_detector.pt'object_detector_new = 'august_3_model.pt'# logo_detector_model_path ='logo_detector_grayscale_v2.pt'logo_detector_model_path = 'logo_detector_june_1.pt'object_model = YOLO(object_detector_new)logo_model = YOLO(logo_detector_model_path)3 unmodified lines456789101112131415161718193 unmodified linesimport PIL.Image as Imagefrom ultralytics import ASSETS, YOLO# object_detector_model_path = 'new_data_improved_object_detector.pt'# logo_detector_model_path ='logo_detector_grayscale_v2.pt'# read modelsobject_detector_new = 'august_3_model.pt'logo_detector_model_path = 'logo_detector_june_1.pt'object_model = YOLO(object_detector_new)logo_model = YOLO(logo_detector_model_path)
app.py+4-5