Amruthaa commited on
Commit
7bec222
1 Parent(s): d91e943

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ with demo:
37
  # allow_flagging = "never"
38
  ner_btn.click(get_ner, ner_input, ner_output)
39
  with gr.Tab("Image Captioning"):
40
- cap_input = [gr.Image(label="Upload Image"), type="pil"]
41
  cap_btn = gr.Button("Generate Caption")
42
  cap_output = [gr.Textbox(label="Caption")]
43
  cap_btn.click(get_caption, cap_input, cap_output)
 
37
  # allow_flagging = "never"
38
  ner_btn.click(get_ner, ner_input, ner_output)
39
  with gr.Tab("Image Captioning"):
40
+ cap_input = [gr.Image(label="Upload Image", type="pil")]
41
  cap_btn = gr.Button("Generate Caption")
42
  cap_output = [gr.Textbox(label="Caption")]
43
  cap_btn.click(get_caption, cap_input, cap_output)