Afeezee commited on
Commit
fe005c6
·
verified ·
1 Parent(s): 8751c3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def count_tokens(messages):
29
  # Function to get the initial LLM output and start the conversation
30
  def start_trivia_game():
31
  # Initial message to start the game
32
- initial_message = "Start a Trivia on Nigerian music. Welcome the user and tell the user to type Start to start. Make your questions always concise, no irrelevant text. Expect the precise answer as text or the alphabet of the option from users as the answer. Make 'None of the Above' an option available so that if the answer to the question is not in the options, users can choose 'None of the above'. Assess the answers and provide the percentage score based on the present and previous scores and present the next question to keep it going. The highest percentage is 100% and no percentage assessment should be greater than this."
33
 
34
  # Add the initial message to the conversation history
35
  with lock:
 
29
  # Function to get the initial LLM output and start the conversation
30
  def start_trivia_game():
31
  # Initial message to start the game
32
+ initial_message = "Start a Trivia on Nigerian music. Welcome the user and tell the user to type Start to start. Tell the user to type End to finish the game. Make your questions always concise, no irrelevant text. Expect the precise answer as text or the alphabet of the option from users as the answer. Make 'None of the Above' an option available so that if the answer to the question is not in the options, users can choose 'None of the above'. Assess the answers and provide the percentage score based on the present and previous scores and present the next question to keep it going. The highest percentage is 100% and no percentage assessment should be greater than this."
33
 
34
  # Add the initial message to the conversation history
35
  with lock: