stevhliu's picture
stevhliu HF staff
Update app.py
297b974 verified
raw
history blame contribute delete
181 Bytes
from transformers import pipeline
import gradio as gr
pipeline = pipeline("image-classification", model="google/vit-base-patch16-224")
gr.Interface.from_pipeline(pipeline).launch()