Spaces:
Build error
Build error
change the model
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from ultralytics import YOLO
|
| 3 |
|
| 4 |
# Load the model directly from your HuggingFace repo
|
| 5 |
-
model = YOLO("Virasad/
|
| 6 |
|
| 7 |
def detect(image):
|
| 8 |
results = model(image)[0]
|
|
|
|
| 2 |
from ultralytics import YOLO
|
| 3 |
|
| 4 |
# Load the model directly from your HuggingFace repo
|
| 5 |
+
model = YOLO("Virasad/yolov5-desktop-icon-detection")
|
| 6 |
|
| 7 |
def detect(image):
|
| 8 |
results = model(image)[0]
|