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

example dir

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -87,9 +87,7 @@ with gr.Blocks() as demo:
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
- inputs=[gr.Image(source="upload"), gr.Textbox(), gr.Slider(0, 1, value=0.1)],
91
- outputs=gr.Image(),
92
- fn=query_image,
93
  cache_examples=True,
94
  )
95
 
 
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