DanyaalMajid commited on
Commit
32e97e4
1 Parent(s): 2fe2a41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -55,7 +55,7 @@ def main():
55
 
56
  # Parse JSON data
57
  data = emotion_text_classifier(user_text)
58
-
59
  # Extract and display label and score values
60
  for labels_and_scores in data:
61
  for entry in labels_and_scores:
@@ -68,7 +68,7 @@ def main():
68
 
69
  # Parse JSON data
70
  data = named_entity_classifier(user_text)
71
-
72
  # Extract and display data
73
  for labels in data:
74
  for entry in labels:
@@ -84,7 +84,7 @@ def main():
84
 
85
  # Parse JSON data
86
  data = toxicity_classifier(user_text)
87
-
88
  # Extract and display label and score values
89
  for labels_and_scores in data:
90
  for entry in labels_and_scores:
 
55
 
56
  # Parse JSON data
57
  data = emotion_text_classifier(user_text)
58
+ st.write(data)
59
  # Extract and display label and score values
60
  for labels_and_scores in data:
61
  for entry in labels_and_scores:
 
68
 
69
  # Parse JSON data
70
  data = named_entity_classifier(user_text)
71
+ st.write(data)
72
  # Extract and display data
73
  for labels in data:
74
  for entry in labels:
 
84
 
85
  # Parse JSON data
86
  data = toxicity_classifier(user_text)
87
+ st.write(data)
88
  # Extract and display label and score values
89
  for labels_and_scores in data:
90
  for entry in labels_and_scores: