krishna195 commited on
Commit
25b7baf
·
verified ·
1 Parent(s): 8928cfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=200, # Increased for better answers
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
  )