Christine Zhou commited on
Commit
913a261
·
1 Parent(s): da0e544

add to description

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -25,7 +25,13 @@ demo = gr.Interface(
25
  gr.Slider(64, 512, value=256, step=32, label="Max tokens")],
26
  outputs=gr.Label(num_top_classes=7),
27
  title="Tone Classifier (BERT)",
28
- description="Predicts tone across 7 categories.",
 
 
 
 
 
 
29
  examples=[["You’re amazing, thanks for sharing!", 256],
30
  ["lol okay sure 🙄", 256],
31
  ["This wasn’t great—here’s why…", 256],
 
25
  gr.Slider(64, 512, value=256, step=32, label="Max tokens")],
26
  outputs=gr.Label(num_top_classes=7),
27
  title="Tone Classifier (BERT)",
28
+ description=(
29
+ "Predicts tone across 7 categories: "
30
+ "Supportive, Neutral, Passive-Aggressive, "
31
+ "Blunt / Overt Judgment and Criticism, "
32
+ "Emotionally Heavy, Objectifying/Over-Sexualized, "
33
+ "and Parasocial Overreach."
34
+ ),
35
  examples=[["You’re amazing, thanks for sharing!", 256],
36
  ["lol okay sure 🙄", 256],
37
  ["This wasn’t great—here’s why…", 256],