File size: 270 Bytes
4bb934d
 
8c67b0b
 
 
 
 
 
 
87454c3
8c67b0b
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

iface = gr.Interface(
    title="Image recognition",
    description="Upload an image you want to categorize.",
    theme="Monochrome",
    live=True,
    capture_session=True,
)
gr.load("models/google/vit-base-patch16-224").launch()

iface.launch()