Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import PIL.Image as Image
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
from ultralytics import
|
| 5 |
|
| 6 |
def predict_image(img, model_id, image_size, conf_threshold):
|
| 7 |
model = YOLOv10.from_pretrained(f'jameslahm/{model_id}')
|
|
|
|
| 1 |
import PIL.Image as Image
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
+
from ultralytics import YOLOv10
|
| 5 |
|
| 6 |
def predict_image(img, model_id, image_size, conf_threshold):
|
| 7 |
model = YOLOv10.from_pretrained(f'jameslahm/{model_id}')
|