spuun commited on
Commit
255ff29
·
1 Parent(s): 103a180

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def inference(raw_image, question, mnlen, mxlen):
35
 
36
  inputs = [gr.inputs.Image(type='pil'),
37
  gr.inputs.Textbox(lines=2, label="Question"),
38
- gr.inputs.Number(value=1, label="Min length"),
39
- gr.inputs.Number(value=10, label="Max length")]
40
 
41
  outputs = gr.outputs.Textbox(label="Output")
42
 
 
35
 
36
  inputs = [gr.inputs.Image(type='pil'),
37
  gr.inputs.Textbox(lines=2, label="Question"),
38
+ gr.inputs.Number(1, label="Min length"),
39
+ gr.inputs.Number(10, label="Max length")]
40
 
41
  outputs = gr.outputs.Textbox(label="Output")
42