Nathanwit commited on
Commit
994f185
β€’
1 Parent(s): 246df6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def predict(image,max_length=64, num_beams=4):
22
 
23
 
24
 
25
- input = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
26
- output = gr.outputs.Textbox(type="auto",label="Captions")
27
  examples = [f"example{i}.jpg" for i in range(1,7)]
28
 
29
  title = "Image Captioning "
 
22
 
23
 
24
 
25
+ input = gr.Image(label="Upload any Image", type = 'pil', optional=True)
26
+ output = [gr.Image(label="Processed Image"), gr.Textbox(label="Image Caption")]
27
  examples = [f"example{i}.jpg" for i in range(1,7)]
28
 
29
  title = "Image Captioning "