thuyentruong's picture
Update app.py
ce79110 verified
raw
history blame
434 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline(task="image-classification",
model="thuyentruong/food_classification_model")
gr.Interface.from_pipeline(pipe,
title="Food Image Classification",
description="Image classification",
examples = ['beignets.jpeg','spagetti.jpeg'],
).launch()