Spaces:
Runtime error
Runtime error
File size: 402 Bytes
c9b3fda 842b256 ef95e07 842b256 9ef845e |
1 2 3 4 5 6 |
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() |