Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,7 @@ demo = gr.Interface(captioner,
|
|
20 |
inputs = [gr.Image(label="Upload any image here", type="pil")], #customize the UI with gradio components textbox, and size of text fields
|
21 |
outputs = [gr.Textbox(label="Caption")],#customize the UI with gradio components textbox,and size of text fields
|
22 |
title = "Image Caption Generation App with BLIP",#add title for app
|
23 |
-
allow_flagging="never"
|
24 |
-
examples=["christmas_dog.jpeg", "bird_flight.jpeg", "cow.jpeg"])
|
25 |
|
26 |
|
27 |
|
|
|
20 |
inputs = [gr.Image(label="Upload any image here", type="pil")], #customize the UI with gradio components textbox, and size of text fields
|
21 |
outputs = [gr.Textbox(label="Caption")],#customize the UI with gradio components textbox,and size of text fields
|
22 |
title = "Image Caption Generation App with BLIP",#add title for app
|
23 |
+
allow_flagging="never")
|
|
|
24 |
|
25 |
|
26 |
|