ZzzzzzzBbbbbbb's picture
Create app.py
9e9343a
raw
history blame contribute delete
322 Bytes
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()