new example test
Browse files
app.py
CHANGED
@@ -83,10 +83,11 @@ with gr.Blocks() as demo:
|
|
83 |
gr.Markdown("## Image Examples")
|
84 |
#examples= ["IMGP0178.jpg"]
|
85 |
|
86 |
-
gr.Examples(
|
|
|
87 |
inputs=[inputs_file],
|
88 |
outputs=[im_output],
|
89 |
-
fn=query_image
|
90 |
-
|
91 |
|
92 |
demo.launch()
|
|
|
83 |
gr.Markdown("## Image Examples")
|
84 |
#examples= ["IMGP0178.jpg"]
|
85 |
|
86 |
+
gr.Examples(postprocess=False,
|
87 |
+
examples=os.path.join(os.getcwd(), "IMGP0178.jpg"),
|
88 |
inputs=[inputs_file],
|
89 |
outputs=[im_output],
|
90 |
+
fn=query_image
|
91 |
+
)
|
92 |
|
93 |
demo.launch()
|