Spaces:
Runtime error
Runtime error
autonomous019
commited on
Commit
•
e2924dd
1
Parent(s):
e95e29a
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def classify_image(image):
|
|
128 |
|
129 |
image = gr.inputs.Image(type="pil")
|
130 |
label = gr.outputs.Label(num_top_classes=5)
|
131 |
-
examples = [ ["cats.jpg"], ["batter.jpg"],["drinkers.jpg"] ]
|
132 |
title = "Generate a Story from an Image"
|
133 |
description = "Demo for classifying images with Perceiver IO. To use it, simply upload an image and click 'submit', a story is autogenerated as well"
|
134 |
article = "<p style='text-align: center'></p>"
|
|
|
128 |
|
129 |
image = gr.inputs.Image(type="pil")
|
130 |
label = gr.outputs.Label(num_top_classes=5)
|
131 |
+
examples = [ ["cats.jpg"], ["batter.jpg"],["drinkers.jpg"] ]
|
132 |
title = "Generate a Story from an Image"
|
133 |
description = "Demo for classifying images with Perceiver IO. To use it, simply upload an image and click 'submit', a story is autogenerated as well"
|
134 |
article = "<p style='text-align: center'></p>"
|