Food_vision / app.py
Kennethdot's picture
Update app.py
df1d887 verified
raw
history blame contribute delete
252 Bytes
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)