tonyassi commited on
Commit
fc0c478
β€’
1 Parent(s): 389a29c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def greet(img, min_len, max_len):
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"),)
 
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) Runs on CPU",
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"),)