Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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 |
-
*
|
120 |
-
*
|
|
|
|
|
|
|
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.
|