Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
stevhliu
/
gradio-pipeline-demo
like
0
Sleeping
App
Files
Files
Community
297b974
gradio-pipeline-demo
/
app.py
stevhliu
HF staff
Update app.py
297b974
verified
4 months ago
raw
Copy download link
history
blame
Safe
181 Bytes
from
transformers
import
pipeline
import
gradio
as
gr
pipeline = pipeline(
"image-classification"
, model=
"google/vit-base-patch16-224"
)
gr.Interface.from_pipeline(pipeline).launch()