Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
examples = ["I love you", "I lost my wallet"]
|
4 |
+
|
5 |
+
gr.Interface.load(
|
6 |
+
"huggingface/j-hartmann/emotion-english-distilroberta-base",
|
7 |
+
title="Basic emotion detection",
|
8 |
+
examples = examples,
|
9 |
+
|
10 |
+
).launch();
|