D0k-tor commited on
Commit
0730b6e
·
1 Parent(s): 1e1d66d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def predict(image,max_length=64, num_beams=4):
78
 
79
  print("------------------------- 5 -------------------------\n")
80
  input = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
81
- output = gr.outputs.Textbox(type="auto",label="Captions")
82
  examples = ["example1.jpg"]
83
  print("------------------------- 6 -------------------------\n")
84
  title = "Image Captioning "
 
78
 
79
  print("------------------------- 5 -------------------------\n")
80
  input = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
81
+ output = gr.outputs.Textbox(type="text",label="Captions")
82
  examples = ["example1.jpg"]
83
  print("------------------------- 6 -------------------------\n")
84
  title = "Image Captioning "