Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| # Use a pipeline as a high-level helper | |
| from transformers import pipeline | |
| pipe = pipeline("image-classification", model="miittnnss/pet-classifier-v2") | |
| iface = gr.Interface.from_pipeline(pipe) | |
| iface.queue() | |
| iface.launch() |