Anonumous commited on
Commit
35b21d7
1 Parent(s): 30e3f50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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="https://github.com/AlexWortega/ruImageCaptioning RuImage Captioning trained for a image2text task to predict caption of image by https://t.me/lovedeathtransformers Alex Wortega", inputs=image, outputs="text")
 
 
 
 
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()