jmyint commited on
Commit
c640fb8
·
verified ·
1 Parent(s): 5497206

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -11,7 +11,7 @@ retrieval_model_name = 'output/sentence-transformer-finetuned/'
11
 
12
  openai.api_key = os.environ["OPENAI_API_KEY"]
13
 
14
- system_message = "You are Harmony, a friendly and casual music chatbot for teens who gives singers and bands recommendations based on users' emotions."
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17
 
@@ -115,9 +115,12 @@ welcome_message = """
115
 
116
  topics = """
117
  ### ** Instructions
118
- * Let me know how you feel.
119
- * Try to be as specific as possible.
120
- * Use one word to describe your feelings.
 
 
 
121
 
122
  ### Disclaimer
123
  Our chatbot is just here to give music suggestions based on how you feel. Our chatbot is **NOT MADE BY PROFESSIONALS AND IS NOT A SUBSTITUTE FOR THERAPY.** If you feel like you have any mental health issues, please seek professional help.
 
11
 
12
  openai.api_key = os.environ["OPENAI_API_KEY"]
13
 
14
+ system_message = "You are Harmony, a friendly and casual music chatbot who gives just artist recommendations for teens based on their current emotion."
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17
 
 
115
 
116
  topics = """
117
  ### ** Instructions
118
+ * Let me know how you feel using one of these five emotions:
119
+ * Joyful
120
+ * Stressed
121
+ * Rage
122
+ * Disappointed
123
+ * Peaceful
124
 
125
  ### Disclaimer
126
  Our chatbot is just here to give music suggestions based on how you feel. Our chatbot is **NOT MADE BY PROFESSIONALS AND IS NOT A SUBSTITUTE FOR THERAPY.** If you feel like you have any mental health issues, please seek professional help.