Chad commited on
Commit
9eab70b
·
1 Parent(s): 9e4c9b2

final commit

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -146,9 +146,9 @@ def user_guide(chat_history, language_state):
146
  userGuide = ''
147
 
148
  if language_state == "english":
149
- userGuide = "I am a chatbot designed to help you study and learn history.\nPress the EN button to change the language to French.\nEnter a question and click send to see my answer.\nIf you want to reset the chat click the button right under send.\nYou can also chose to send one of the example promts I've provided so you can see what I'm capable of!\nIf you want to test yourself on a certain topic, enter a quiz subject, chose the number of questions, and click on start quiz...\nEnjoy:)"
150
  else:
151
- userGuide = "Je suis un chatbot conçu pour vous aider à étudier et à apprendre l'histoire.\nAppuyez sur le bouton FR pour changer le langage à l'anglais.\nSaisissez une question et cliquez sur «Envoyer» pour voir ma réponse.\nSi vous souhaitez réinitialiser le chat, cliquez sur le bouton situé juste en dessous de «Envoyer».\nVous pouvez également choisir d'envoyer l'un des exemples d'invites que j'ai fournis pour que vous puissiez voir de quoi je suis capable!\nSi vous souhaitez vous tester sur un sujet spécifique, saisissez un sujet de quiz, choisissez le nombre de questions et cliquez sur «Démarrer le quiz»...\nProfitez-en:)"
152
 
153
  chat_history.append({"role": "assistant", "content": userGuide})
154
  return chat_history, chat_history
 
146
  userGuide = ''
147
 
148
  if language_state == "english":
149
+ userGuide = "I am a chatbot designed to help you study and learn history.\nPress the EN button to change the language to French.\nEnter a question and click send to see my answer.\nTo change between normal and extended awnsers you can toggle profound mode on and off.\nIf you want to reset the chat click the button right under send.\nYou can also chose to send one of the example promts I've provided so you can see what I'm capable of!\nIf you want to test yourself on a certain topic, enter a quiz subject, chose the number of questions, and click on start quiz...\nEnjoy:)"
150
  else:
151
+ userGuide = "Je suis un chatbot conçu pour vous aider à étudier et à apprendre l'histoire.\nAppuyez sur le bouton FR pour changer le langage à l'anglais.\nSaisissez une question et cliquez sur «Envoyer» pour voir ma réponse.\nPour basculer entre les réponses normales et étendues, vous pouvez activer et désactiver le mode aprofondi.\nSi vous souhaitez réinitialiser le chat, cliquez sur le bouton situé juste en dessous de «Envoyer».\nVous pouvez également choisir d'envoyer l'un des exemples d'invites que j'ai fournis pour que vous puissiez voir de quoi je suis capable!\nSi vous souhaitez vous tester sur un sujet spécifique, saisissez un sujet de quiz, choisissez le nombre de questions et cliquez sur «Démarrer le quiz»...\nProfitez-en:)"
152
 
153
  chat_history.append({"role": "assistant", "content": userGuide})
154
  return chat_history, chat_history