ImgRecognition / app.py
antfraia's picture
Update app.py
87454c3
raw
history blame
270 Bytes
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()