Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
MMIX2009
/
ImageTransformer
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
6e3cbaa
ImageTransformer
/
app.py
MMIX2009
Update app.py
6e3cbaa
almost 2 years ago
raw
Copy download link
history
blame
Safe
206 Bytes
import
gradio
as
gr
# Image classification using Vision Transformer
gr.Interface.load(
"huggingface/google/vit-base-patch16-224"
,
examples=[
"alligator.jpg"
,
"laptop.jpg"
]).launch()