Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| description = "Image captioning" | |
| title = "Image to text" | |
| interface = gr.Interface.load("huggingface/Salesforce/blip-image-captioning-large", | |
| description=description, | |
| title = title, | |
| inputs = gr.Image(label="upload your image here",type="pil"), | |
| ) | |
| interface.launch() |