Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ from pathlib import Path
|
|
5 |
import cv2
|
6 |
import gradio as gr
|
7 |
import torch
|
8 |
-
|
9 |
|
10 |
-
pipeline =
|
11 |
|
12 |
def fn_image(image):
|
13 |
return pipeline(image)
|
|
|
5 |
import cv2
|
6 |
import gradio as gr
|
7 |
import torch
|
8 |
+
import ultralytics.yolo.v8.detect.predict
|
9 |
|
10 |
+
pipeline = predict()
|
11 |
|
12 |
def fn_image(image):
|
13 |
return pipeline(image)
|