prithivMLmods commited on
Commit
8c28790
1 Parent(s): a7ac63f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def greet(img, min_len, max_len):
24
  return result
25
 
26
  iface = gr.Interface(fn=greet,
27
- title='Blip Image Captioning Large',
28
- description="[Salesforce/blip-image-captioning-large](https://huggingface.co/Salesforce/blip-image-captioning-large)",
29
  inputs=[gr.Image(type='filepath', label='Image'), gr.Slider(label='Minimum Length', minimum=1, maximum=1000, value=30), gr.Slider(label='Maximum Length', minimum=1, maximum=1000, value=100)],
30
  outputs=gr.Textbox(label='Caption'),
31
  theme = gr.themes.Base(primary_hue="teal",secondary_hue="teal",neutral_hue="slate"),)
 
24
  return result
25
 
26
  iface = gr.Interface(fn=greet,
27
+ title='Beetz-Image-Captioning',
28
+ description="Task of describing the content of an image in words.",
29
  inputs=[gr.Image(type='filepath', label='Image'), gr.Slider(label='Minimum Length', minimum=1, maximum=1000, value=30), gr.Slider(label='Maximum Length', minimum=1, maximum=1000, value=100)],
30
  outputs=gr.Textbox(label='Caption'),
31
  theme = gr.themes.Base(primary_hue="teal",secondary_hue="teal",neutral_hue="slate"),)