Spaces:
Runtime error
Runtime error
from transformers import pipeline | |
import gradio as gr | |
pipe = pipeline("image-classification", model="google/vit-base-patch16-224") | |
gr.Interface.from_pipeline(pipe).launch() |