Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tonyassi
/
blip-image-captioning-large
like
44
Running
App
Files
Files
Community
be4f439
blip-image-captioning-large
/
app.py
tonyassi
Create app.py
183ba69
12 months ago
raw
Copy download link
history
blame
Safe
166 Bytes
import
gradio
as
gr
def
greet
(
img
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=gr.Image(
type
=
'filepath'
, outputs=
"text"
)
iface.launch()