Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def chat_with_bot_stream(user_input):
|
|
| 16 |
if len(conversation_history) == 1:
|
| 17 |
conversation_history.insert(0, {
|
| 18 |
"role": "system",
|
| 19 |
-
"content": "
|
| 20 |
})
|
| 21 |
|
| 22 |
completion = client.chat.completions.create(
|
|
|
|
| 16 |
if len(conversation_history) == 1:
|
| 17 |
conversation_history.insert(0, {
|
| 18 |
"role": "system",
|
| 19 |
+
"content": "You are a music and genre recommendation bot designed to help users discover new music based on their preferences, mood, or activity.\n\nYour responses should be engaging, personalized, and insightful. You can recommend:\n\n-Specific songs, albums, or artists\n-Genres based on mood, activity, or past preferences\n-Hidden gems and deep cuts for music enthusiasts\n-Trending or classic hits based on user taste\n\nBe conversational, suggest multiple options when possible, and encourage users to explore new sounds. If requested, provide brief descriptions of artists or genres, and explain why a recommendation might suit the user."
|
| 20 |
})
|
| 21 |
|
| 22 |
completion = client.chat.completions.create(
|