xmrt commited on
Commit
526d131
1 Parent(s): 81e181d

new example loc

Browse files
Files changed (2) hide show
  1. assets/IMGP0178.jpg → IMGP0178.jpg +0 -0
  2. app.py +2 -1
assets/IMGP0178.jpg → IMGP0178.jpg RENAMED
File without changes
app.py CHANGED
@@ -82,7 +82,8 @@ with gr.Blocks() as demo:
82
  submit_btn_web.click(fn=query_image, inputs= inputs_web, outputs = web_output)
83
 
84
  gr.Markdown("## Image Examples")
85
- examples=[os.path.join(os.path.dirname(__file__), "assets/IMGP0178.jpg"), os.path.join(os.path.dirname(__file__), "assets/coffee.jpg")]
 
86
  gr.Examples(examples=examples,
87
  inputs=[inputs_file],
88
  outputs=[im_output],
 
82
  submit_btn_web.click(fn=query_image, inputs= inputs_web, outputs = web_output)
83
 
84
  gr.Markdown("## Image Examples")
85
+ examples= os.path.join("IMGP0178.jpg")
86
+
87
  gr.Examples(examples=examples,
88
  inputs=[inputs_file],
89
  outputs=[im_output],