mrm8488 commited on
Commit
9fd6fc9
1 Parent(s): 458c57f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)