jmyint commited on
Commit
33e75cb
·
verified ·
1 Parent(s): 141e47a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -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 artist recommendations based on their emotions and favorite genres. You give information behind artists and their albums and songs."
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17
 
@@ -115,9 +115,9 @@ welcome_message = """
115
 
116
  topics = """
117
  ### ** Instructions
118
- * Let me know how you feel. Try to be as specific, and use one word to describe your feelings.
119
- * You can also let me know your favorite genre of music.
120
- * Feel free to ask about any artists or songs!
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 for teens who gives artist 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
 
116
  topics = """
117
  ### ** Instructions
118
+ * Let me know how you feel.
119
+ * Try to be as specific.
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.