Spaces:
Runtime error
Runtime error
Fix example path
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def predict(image, det_choice, emb_choice):
|
|
86 |
return image_with_boxes, df_boxes, embeddings, fig
|
87 |
|
88 |
|
89 |
-
examples = [['
|
90 |
inputs = [
|
91 |
gr.Image(type="pil"),
|
92 |
gr.Dropdown(choices=['yolov8', 'yolo-stamp'], value='yolov8', label='Detection model'),
|
|
|
86 |
return image_with_boxes, df_boxes, embeddings, fig
|
87 |
|
88 |
|
89 |
+
examples = [['./examples/1.jpg', 'yolov8', 'vits8'], ['./examples/2.jpg', 'yolov8', 'vae-encoder'], ['./examples/3.jpg', 'yolo-stamp', 'vits8']]
|
90 |
inputs = [
|
91 |
gr.Image(type="pil"),
|
92 |
gr.Dropdown(choices=['yolov8', 'yolo-stamp'], value='yolov8', label='Detection model'),
|