Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
marcellohalfeld
/
ibm_1
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
2e14bfe
ibm_1
/
app.py
marcellohalfeld
Update app.py
2e14bfe
verified
10 months ago
raw
Copy download link
history
blame
Safe
198 Bytes
from
transformers
import
pipeline
import
gradio
as
gr
pipe = pipeline(
"image-to-text"
, model=
"facebook/nougat-base"
, max_new_tokens=
100
)
gr.Interface.from_pipeline(pipe).title(
"marcello"
).launch()