Spaces:
Runtime error
Runtime error
File size: 208 Bytes
3a8efaf | 1 2 3 4 5 6 7 8 9 | 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() |