xmrt commited on
Commit
9652496
·
1 Parent(s): fc5cf3b

example dir

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -85,10 +85,8 @@ with gr.Blocks() as demo:
85
 
86
  gr.Markdown("## Image Examples")
87
 
88
- gr.Examples(
89
- examples=[os.path.join(os.path.dirname(__file__), "assets/IMGP0178.jpg"), os.path.join(os.path.dirname(__file__), "assets/coffee.jpg")],
90
- fn=query_image, inputs= inputs_file, outputs = im_output,
91
- cache_examples=True,
92
  )
93
 
94
  demo.launch()
 
85
 
86
  gr.Markdown("## Image Examples")
87
 
88
+ gr.Examples([os.path.join(os.path.dirname(__file__), "assets/IMGP0178.jpg"), os.path.join(os.path.dirname(__file__), "assets/coffee.jpg")],
89
+ inputs_file, im_output,query_image
 
 
90
  )
91
 
92
  demo.launch()