Nathanwit commited on
Commit
ddbd464
β€’
1 Parent(s): 2a3202e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def predict(image,max_length=64, num_beams=4):
25
  gradio_app = gr.Interface(
26
  fn=predict,
27
  inputs=gr.Image(label="Select image for captioning", sources=['upload', 'webcam'], type="pil"),
28
- outputs=[gr.Image(label="Processed Image"), gr.Textbox(label="Image Caption")],
29
  examples = [f"example{i}.jpg" for i in range(1,7)],
30
  title="Image Captioning with our model",
31
  )
 
25
  gradio_app = gr.Interface(
26
  fn=predict,
27
  inputs=gr.Image(label="Select image for captioning", sources=['upload', 'webcam'], type="pil"),
28
+ outputs=[gr.Textbox(label="Image Caption")],
29
  examples = [f"example{i}.jpg" for i in range(1,7)],
30
  title="Image Captioning with our model",
31
  )