Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,9 @@ def predict_emotion(text):
|
|
| 13 |
return {item["label"]: item["score"] for item in results}
|
| 14 |
|
| 15 |
|
| 16 |
-
theme = gr.themes.Ocean()
|
|
|
|
|
|
|
| 17 |
|
| 18 |
demo = gr.Interface(
|
| 19 |
fn=predict_emotion,
|
|
|
|
| 13 |
return {item["label"]: item["score"] for item in results}
|
| 14 |
|
| 15 |
|
| 16 |
+
#theme = gr.themes.Ocean()
|
| 17 |
+
theme = gr.themes.Glass()
|
| 18 |
+
|
| 19 |
|
| 20 |
demo = gr.Interface(
|
| 21 |
fn=predict_emotion,
|