yuvalkirstain commited on
Commit
3e2fb01
1 Parent(s): e4993da

try to change path to relative one

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ with gr.Blocks(title="PickScore v1") as demo:
84
 
85
  gr.Examples(
86
  [[open(f'{path}/prompt.txt').readline(), f'{path}/image_1.png', f'{path}/image_2.png'] for path in
87
- glob(f'{os.path.dirname(__file__)}/examples/*')],
88
  [prompt, image_1, image_2],
89
  [pred_1, pred_2],
90
  predict
 
84
 
85
  gr.Examples(
86
  [[open(f'{path}/prompt.txt').readline(), f'{path}/image_1.png', f'{path}/image_2.png'] for path in
87
+ glob(f'examples/*')],
88
  [prompt, image_1, image_2],
89
  [pred_1, pred_2],
90
  predict