Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jimytech
/
VITParaClasificacionImagen
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
jimytech
commited on
Feb 5
Commit
0d53a2a
路
verified
路
1 Parent(s):
c870f68
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+6
-0
app.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
from transformers import pipeline
2
+
import gradio as gr
3
+
4
+
pipe = pipeline("image-classification", model="google/vit-base-patch16-224")
5
+
6
+
gr.Interface.from_pipeline(pipe).launch()