Spaces:
Runtime error
Runtime error
File size: 316 Bytes
d1c58df 32b6255 d1c58df 32b6255 |
1 2 3 4 5 |
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) |