Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=[
|
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
|