stevhliu's picture
stevhliu HF Staff
Update app.py
b73dfe6 verified
raw
history blame
191 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(share=True)