DolarAndreSpace / app.py
TotalUpbeat's picture
Update app.py to work
32b6255
raw
history blame
316 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline(task="image-classification", model="Rajaram1996/FacialEmoRecog")
gr.Interface.from_pipeline(pipe, title="Emotion Recognition using facial expressions", examples = ["Sample 1.jpg", "Sample 2.jpg",], allow_flagging="never").launch(inbrowswer=True)