example dir
Browse files
app.py
CHANGED
@@ -85,10 +85,8 @@ with gr.Blocks() as demo:
|
|
85 |
|
86 |
gr.Markdown("## Image Examples")
|
87 |
|
88 |
-
gr.Examples(
|
89 |
-
|
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()
|