Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def chatbot_response(user_input):
|
|
12 |
# System instructions
|
13 |
system_prompt = """
|
14 |
You are a chatbot specializing in recommending songs by the Estonian folk band **Curly Strings**.
|
15 |
-
|
16 |
## 🎵 **Song List**
|
17 |
Here are some songs by Curly Strings:
|
18 |
1. **Kalakesed**
|
@@ -61,7 +61,7 @@ def chatbot_response(user_input):
|
|
61 |
{"role": "user", "content": user_input}
|
62 |
],
|
63 |
temperature=0.5,
|
64 |
-
max_tokens=
|
65 |
top_p=0.9,
|
66 |
frequency_penalty=0.8,
|
67 |
)
|
|
|
12 |
# System instructions
|
13 |
system_prompt = """
|
14 |
You are a chatbot specializing in recommending songs by the Estonian folk band **Curly Strings**.
|
15 |
+
based on this anw the question and give the link of the source
|
16 |
## 🎵 **Song List**
|
17 |
Here are some songs by Curly Strings:
|
18 |
1. **Kalakesed**
|
|
|
61 |
{"role": "user", "content": user_input}
|
62 |
],
|
63 |
temperature=0.5,
|
64 |
+
max_tokens=500, # Increased for better answers
|
65 |
top_p=0.9,
|
66 |
frequency_penalty=0.8,
|
67 |
)
|