Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
wvle
/
ImageClassifier
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
wvle
commited on
Sep 10, 2022
Commit
e61b2e5
·
1 Parent(s):
522fa19
Create new file
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
import gradio as gr
2
+
from transformers import pipeline
3
+
4
+
pipe = pipeline("image-classification")
5
+
gr.Interface.from_pipeline(pipe).launch()