new example loc
Browse files- app.py +2 -6
- assets/coffee.png +0 -0
app.py
CHANGED
@@ -82,12 +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= [
|
86 |
|
87 |
-
gr.Examples(
|
88 |
-
inputs=[inputs_file],
|
89 |
-
outputs=[im_output],
|
90 |
-
fn=query_image
|
91 |
-
)
|
92 |
|
93 |
demo.launch()
|
|
|
82 |
submit_btn_web.click(fn=query_image, inputs= inputs_web, outputs = web_output)
|
83 |
|
84 |
gr.Markdown("## Image Examples")
|
85 |
+
examples= ["IMGP0178.jpg"]
|
86 |
|
87 |
+
gr.Examples(["IMGP0178.jpg", "coffee.jpg"], [inputs_file], [im_output], query_image)
|
|
|
|
|
|
|
|
|
88 |
|
89 |
demo.launch()
|
assets/coffee.png
DELETED
Binary file (449 kB)
|
|