Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def greet(img, min_len,max_len):
|
|
21 |
result=result+'n'+total_time +'seconds'
|
22 |
return result
|
23 |
iface = gr.Interface(fn=greet,
|
24 |
-
|
25 |
description=" [Salesforce/blip-image-captioning-largel(https: //huggingface,co/Salesforce/blip-image-captioning-large)",
|
26 |
inputs=[gr.Image(type='filepath', label='Image'), gr.Slider(label='Minimum Length', minimum=1, maximum=1000, value=30)],
|
27 |
outputs=gr.Textbox(label='Caption'),
|
|
|
21 |
result=result+'n'+total_time +'seconds'
|
22 |
return result
|
23 |
iface = gr.Interface(fn=greet,
|
24 |
+
title='Blip Image Captioning Large',
|
25 |
description=" [Salesforce/blip-image-captioning-largel(https: //huggingface,co/Salesforce/blip-image-captioning-large)",
|
26 |
inputs=[gr.Image(type='filepath', label='Image'), gr.Slider(label='Minimum Length', minimum=1, maximum=1000, value=30)],
|
27 |
outputs=gr.Textbox(label='Caption'),
|