justingrammens commited on
Commit
f6d69d3
·
verified ·
1 Parent(s): e7cf0f5

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -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()