jameslahm commited on
Commit
794b1a6
1 Parent(s): 810cd5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import PIL.Image as Image
2
  import gradio as gr
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}')
 
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}')