ybelkada commited on
Commit
07d8427
1 Parent(s): bc66cbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def inference(raw_image, question, decoding_strategy):
28
 
29
  inputs = [
30
  gr.inputs.Image(type='pil'),
31
- gr.inputs.Textbox(lines=2, label="Context"),
32
  gr.inputs.Radio(choices=['Beam search','Nucleus sampling'], type="value", default="Nucleus sampling", label="Caption Decoding Strategy")
33
  ]
34
  outputs = gr.outputs.Textbox(label="Output")
 
28
 
29
  inputs = [
30
  gr.inputs.Image(type='pil'),
31
+ gr.inputs.Textbox(lines=2, label="Context (optional)"),
32
  gr.inputs.Radio(choices=['Beam search','Nucleus sampling'], type="value", default="Nucleus sampling", label="Caption Decoding Strategy")
33
  ]
34
  outputs = gr.outputs.Textbox(label="Output")