Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -234,5 +234,9 @@ image = gr.inputs.Image(shape=(196, 196))
|
|
234 |
label = gr.outputs.Label(num_top_classes=3)
|
235 |
|
236 |
|
237 |
-
iface = gr.Interface(fn=classify_image, description="
|
|
|
|
|
|
|
|
|
238 |
iface.launch()
|
|
|
234 |
label = gr.outputs.Label(num_top_classes=3)
|
235 |
|
236 |
|
237 |
+
iface = gr.Interface(fn=classify_image, description="RuImage Captioning trained for a image2text task to predict caption of image", inputs=image, outputs="text", examples=[
|
238 |
+
["1.png"],
|
239 |
+
["2.png"],
|
240 |
+
["3.png"]
|
241 |
+
])
|
242 |
iface.launch()
|