orrinin commited on
Commit
2369fd8
·
verified ·
1 Parent(s): 47f1619

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ with gr.Blocks(theme='shivi/calm_seafoam', css=css, title="知觉demo") as iface
144
 
145
  # Set up the event listeners
146
  submit_btn.click(main, inputs=[text_input, image_input, unit], outputs=output_box)
147
- gr.Examples(fn=main, examples=EXAMPLES, inputs=[image_input, text_input], outputs=output_box, cache_examples="lazy")
148
  gr.Markdown(LICENSE)
149
 
150
  #gr.close_all()
 
144
 
145
  # Set up the event listeners
146
  submit_btn.click(main, inputs=[text_input, image_input, unit], outputs=output_box)
147
+ gr.Examples(examples=EXAMPLES, inputs=[image_input, text_input])
148
  gr.Markdown(LICENSE)
149
 
150
  #gr.close_all()