File size: 206 Bytes
925bcd5
6e3cbaa
925bcd5
6e3cbaa
925bcd5
1
2
3
4
5
import gradio as gr
# Image classification using Vision Transformer
gr.Interface.load(
             "huggingface/google/vit-base-patch16-224",
             examples=["alligator.jpg", "laptop.jpg"]).launch()