Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
from
|
| 3 |
def inference(img):
|
| 4 |
img = cv2.imread(img.name)
|
| 5 |
boxes, scores, cls_ids = prediction(img)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from inference import *
|
| 3 |
def inference(img):
|
| 4 |
img = cv2.imread(img.name)
|
| 5 |
boxes, scores, cls_ids = prediction(img)
|