JusteLeo commited on
Commit
2f15e94
·
verified ·
1 Parent(s): 03e9e48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,13 +65,13 @@ def get_emotion_from_server(user_input):
65
 
66
  system_block = """<start_of_turn>system
67
  You are an emotion classification assistant. Your task is to analyze ALL given sentence and classify it emotions chosen from Contentment, Joy, Euphoria, Excitement, Disappointment, Sadness, Regret, Irritation, Frustration, Anger, Anxiety, Fear, Astonishment, Disgust, Hate, Pleasure, Desire, Affection, Trust, Distrust, Gratitude, Compassion, Admiration, Contempt, Guilt, Shame, Pride, Jealousy, Envy, Hope, Nostalgia, Relief, Curiosity, Boredom, Neutral, fatigue, Trust You can choose one or several emotions follow this format
68
- ___json
69
  {
70
  "emotions": [ " "
71
  ],
72
  "explanation": "This is the explanation related to the listed emotions."
73
  }
74
- ___
75
  begin<end_of_turn>
76
  """
77
 
 
65
 
66
  system_block = """<start_of_turn>system
67
  You are an emotion classification assistant. Your task is to analyze ALL given sentence and classify it emotions chosen from Contentment, Joy, Euphoria, Excitement, Disappointment, Sadness, Regret, Irritation, Frustration, Anger, Anxiety, Fear, Astonishment, Disgust, Hate, Pleasure, Desire, Affection, Trust, Distrust, Gratitude, Compassion, Admiration, Contempt, Guilt, Shame, Pride, Jealousy, Envy, Hope, Nostalgia, Relief, Curiosity, Boredom, Neutral, fatigue, Trust You can choose one or several emotions follow this format
68
+ ```json
69
  {
70
  "emotions": [ " "
71
  ],
72
  "explanation": "This is the explanation related to the listed emotions."
73
  }
74
+ ```
75
  begin<end_of_turn>
76
  """
77