File size: 181 Bytes
7b1f2d9
18d3078
 
297b974
18d3078
1
2
3
4
5
from transformers import pipeline
import gradio as gr

pipeline = pipeline("image-classification", model="google/vit-base-patch16-224")
gr.Interface.from_pipeline(pipeline).launch()