Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,8 +37,8 @@ io = gr.Interface(fn=image_caption,
|
|
37 |
gr.inputs.Textbox(value="Describe the following image:"),
|
38 |
gr.inputs.Textbox(label="image URL", placeholder="Insert the URL of the image to be described"),
|
39 |
gr.inputs.Slider(label="Max tokens", value=64, max=128, min=16, step=8)
|
40 |
-
]
|
41 |
outputs=gr.outputs.Textbox(label="IDEFICS Description"),
|
42 |
-
title=title, description=description
|
43 |
allow_flagging=False, allow_screenshot=False)
|
44 |
io.launch(show_errors=True)
|
|
|
37 |
gr.inputs.Textbox(value="Describe the following image:"),
|
38 |
gr.inputs.Textbox(label="image URL", placeholder="Insert the URL of the image to be described"),
|
39 |
gr.inputs.Slider(label="Max tokens", value=64, max=128, min=16, step=8)
|
40 |
+
],
|
41 |
outputs=gr.outputs.Textbox(label="IDEFICS Description"),
|
42 |
+
title=title, description=description, examples=examples,
|
43 |
allow_flagging=False, allow_screenshot=False)
|
44 |
io.launch(show_errors=True)
|