xmrt commited on
Commit
002d9a0
·
1 Parent(s): 4109d5a

new example test

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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(examples=[os.path.join(os.getcwd(), "IMGP0178.jpg"), os.path.join(os.getcwd(), "coffee.jpg")],
 
87
  inputs=[inputs_file],
88
  outputs=[im_output],
89
- fn=query_image,
90
- postprocess=False)
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()