Spaces:
Runtime error
Runtime error
DanyaalMajid
commited on
Commit
•
01a3a4a
1
Parent(s):
92f783d
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def main():
|
|
59 |
|
60 |
# Parse JSON data
|
61 |
data = emotion_text_classifier(user_text)
|
62 |
-
|
63 |
# Extract and display label and score for each entry
|
64 |
for entry in data:
|
65 |
label = entry["label"]
|
|
|
59 |
|
60 |
# Parse JSON data
|
61 |
data = emotion_text_classifier(user_text)
|
62 |
+
|
63 |
# Extract and display label and score for each entry
|
64 |
for entry in data:
|
65 |
label = entry["label"]
|