Ifeanyi
Image classifying application
3a8efaf
raw
history blame contribute delete
208 Bytes
from transformers import pipeline
import gradio as gr
import timm
def image_classifier(image):
model = pipeline("image-classification")
return model(image)
gr.Interface.from_pipeline(model).launch()