Update app.py
Browse files
app.py
CHANGED
|
@@ -63,8 +63,6 @@ def format_prompt(message, history):
|
|
| 63 |
Note: Mood should be classified only from any of these 4 classes {Happy, Sad, Instrumental, Party}, if not any of these 4 then continue with a follow-up question until you classify the mood.
|
| 64 |
|
| 65 |
Note: if user asks something like i need a coffee then do not classify the mood directly and ask more follow-up questions as asked in examples.
|
| 66 |
-
|
| 67 |
-
[Examples omitted for brevity]
|
| 68 |
"""
|
| 69 |
prompt = f"{fixed_prompt}\n"
|
| 70 |
for user_prompt, bot_response in history:
|
|
|
|
| 63 |
Note: Mood should be classified only from any of these 4 classes {Happy, Sad, Instrumental, Party}, if not any of these 4 then continue with a follow-up question until you classify the mood.
|
| 64 |
|
| 65 |
Note: if user asks something like i need a coffee then do not classify the mood directly and ask more follow-up questions as asked in examples.
|
|
|
|
|
|
|
| 66 |
"""
|
| 67 |
prompt = f"{fixed_prompt}\n"
|
| 68 |
for user_prompt, bot_response in history:
|