Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ model = core.Model.load(MODEL_PATH, ['cross_arm','pole','tag'])
|
|
19 |
st.title("Object Detection")
|
20 |
|
21 |
|
22 |
-
def detect_object(IMAGE_PATH)
|
23 |
image = utils.read_image(IMAGE_PATH)
|
24 |
predictions = model.predict(image)
|
25 |
labels, boxes, scores = predictions
|
|
|
19 |
st.title("Object Detection")
|
20 |
|
21 |
|
22 |
+
def detect_object(IMAGE_PATH):
|
23 |
image = utils.read_image(IMAGE_PATH)
|
24 |
predictions = model.predict(image)
|
25 |
labels, boxes, scores = predictions
|