demo / app.py
jinluzhang1126
update requirements
ccac430
raw
history blame contribute delete
141 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline(task="image-classification")
gr.Interface.from_pipeline(pipe).launch()