Spaces:
Runtime error
Runtime error
import gradio as gr | |
from transformers import pipeline | |
pipe = pipeline(task="image-classification", model="imjeffhi/pokemon_classifier") | |
gr.Interface.from_pipeline(pipe, title="Pokemon Classifier", description="Pokemon Classifier using a fine-tuned version of ViT-base on a collected set of Pokémon images", examples = ['arceus.jpg', 'charizard.png', 'rayquaza.png'], allow_flagging="never").launch() |