rayl-aoit commited on
Commit
5e96bb9
·
verified ·
1 Parent(s): 4f390ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -29,6 +29,9 @@ with playground:
29
  with gr.Tabs():
30
  with gr.TabItem("Image"):
31
  image_pipeline_button = create_tabs_header("Image Captioning")
 
 
 
32
  with gr.Row(visible=True) as use_pipeline:
33
  with gr.Column():
34
  img = gr.Image(type='pil')
@@ -37,7 +40,7 @@ with playground:
37
 
38
  image_pipeline_button.click(image_pipe,
39
  inputs=[img],
40
- outputs=[generated_textbox]])
41
 
42
  with gr.TabItem("Text"):
43
  gr.Markdown("""
 
29
  with gr.Tabs():
30
  with gr.TabItem("Image"):
31
  image_pipeline_button = create_tabs_header("Image Captioning")
32
+ gr.Markdown("""
33
+ > model='Salesforce/blip-image-captioning-base'
34
+ """)
35
  with gr.Row(visible=True) as use_pipeline:
36
  with gr.Column():
37
  img = gr.Image(type='pil')
 
40
 
41
  image_pipeline_button.click(image_pipe,
42
  inputs=[img],
43
+ outputs=[generated_textbox])
44
 
45
  with gr.TabItem("Text"):
46
  gr.Markdown("""