Pawel_Mar commited on
Commit
dafdb47
1 Parent(s): 9907a02

input correction

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from ultralytics import YOLO
3
 
4
 
5
- def yoloV8_func(image: gr.inputs.Image = None):
6
  model_path = "models/last.pt"
7
  model = YOLO(model_path)
8
  results = model.predict(image)
 
2
  from ultralytics import YOLO
3
 
4
 
5
+ def yoloV8_func(image: gr.Image = None):
6
  model_path = "models/last.pt"
7
  model = YOLO(model_path)
8
  results = model.predict(image)