File size: 252 Bytes
753a926
a3bdd65
753a926
a3bdd65
 
753a926
e544d7a
df1d887
1
2
3
4
5
6
7
8
9
import gradio as gr
from transformers import pipeline, AutoProcessor

model_name = "Kennethdot/convnext_finetuned_ghanaian_food"
pipe = pipeline("image-classification", model=model_name)

demo = gr.Interface.from_pipeline(pipe)
demo.launch(share=True)