sadjava commited on
Commit
2fa1032
1 Parent(s): 0476380

Fix example path

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = [['home/user/app/examples/1.jpg', 'yolov8', 'vits8'], ['home/user/app/examples/2.jpg', 'yolov8', 'vae-encoder'], ['home/user/app/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'),
 
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'),