Suzana's picture
Update app.py
6e8f772
raw
history blame
288 Bytes
import gradio as gr
examples = ["I love you", "I lost my wallet"]
gr.Interface.load(
"huggingface/j-hartmann/emotion-english-distilroberta-base",
title="Basic emotion detection",
examples = examples,
allow_flagging="manual", flagging_callback=gr.CSVLogger()
).launch();