nkasmanoff commited on
Commit
aa462fc
·
1 Parent(s): 5493b2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def predict(image,max_length=64,device='cpu'):
20
 
21
 
22
 
23
- input = gr.inputs.Image(label="Upload your Image", type = 'jpg', optional=True)
24
  output = gr.outputs.Textbox(type="auto",label="Captions")
25
 
26
 
 
20
 
21
 
22
 
23
+ input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
24
  output = gr.outputs.Textbox(type="auto",label="Captions")
25
 
26