pradanaadn commited on
Commit
35aa952
·
verified ·
1 Parent(s): 24d3701

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def text_classification(text):
15
  formatted_output = f"This sentiment is {sentiment_label} with the probability {sentiment_score*100:.2f}%"
16
  return formatted_output
17
 
18
- examples=["It's been a rollercoaster lately. One moment I'm on top of the world, full of energy, and the next, I'm down in the dumps, feeling hopeless", "I've noticed that my reactions and feelings often don't match what others expect. It creates tension in my relationships, and sometimes I feel like I'm not in control of myself."]
19
 
20
  io = gr.Interface(fn=text_classification,
21
  inputs= gr.Textbox(lines=2, label="Text", placeholder="Enter title here..."),
 
15
  formatted_output = f"This sentiment is {sentiment_label} with the probability {sentiment_score*100:.2f}%"
16
  return formatted_output
17
 
18
+ examples=["It's been a rollercoaster lately. One moment I'm on top of the world, full of energy, and the next, I'm down in the dumps, feeling hopeless", "I can't keep going like this anymore. Everything feels hopeless, and I don't see a way out. I feel like the world would be better off without me."]
19
 
20
  io = gr.Interface(fn=text_classification,
21
  inputs= gr.Textbox(lines=2, label="Text", placeholder="Enter title here..."),