Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import gradio as gr
|
|
3 |
|
4 |
from ultralytics import ASSETS, YOLOv10
|
5 |
|
6 |
-
|
7 |
def predict_image(img, model_id, image_size, conf_threshold):
|
8 |
model = YOLOv10.from_pretrained(f'jameslahm/{model_id}')
|
9 |
results = model.predict(
|
|
|
3 |
|
4 |
from ultralytics import ASSETS, YOLOv10
|
5 |
|
|
|
6 |
def predict_image(img, model_id, image_size, conf_threshold):
|
7 |
model = YOLOv10.from_pretrained(f'jameslahm/{model_id}')
|
8 |
results = model.predict(
|