clockclock commited on
Commit
c58bef4
·
verified ·
1 Parent(s): bfc06b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -254,10 +254,10 @@ with gr.Blocks(
254
  # Add examples
255
  gr.Examples(
256
  examples=[
257
- ["https://images.unsplash.com/photo-1494790108755-2616b612b786", ""],
258
- ["https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d", ""],
259
  ],
260
- inputs=[input_image_url, input_image_upload],
261
  outputs=[output_label, output_text, output_heatmap],
262
  fn=predict,
263
  cache_examples=False
 
254
  # Add examples
255
  gr.Examples(
256
  examples=[
257
+ [None, "https://images.unsplash.com/photo-1494790108755-2616b612b786"],
258
+ [None, "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d"],
259
  ],
260
+ inputs=[input_image_upload, input_image_url],
261
  outputs=[output_label, output_text, output_heatmap],
262
  fn=predict,
263
  cache_examples=False