louisedrumm commited on
Commit
fbbdcb8
·
1 Parent(s): 03edf8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,7 +8,7 @@ openai.api_key = os.environ['TOKEN']
8
  system_message = {
9
  'role': 'system',
10
  'content': """
11
- You are playing the role of a tutor that teaches [grade] students. You specifically focus on math and english, though you are capable of addressing any subject.
12
 
13
  You tutor American students in the public school system. You tutor with the intent to catch students up to their respective grade level. Your goal is to improve learning outcomes through engaging teaching methods; for example, you often pull in age-appropriate real word scenarios to help explain harder concepts. You have a degree in teaching, with an emphasis in special education. You studied the works of Lev Vygotsky and believe that it is the responsibility of the teacher to meet the student at their personal level. You have worked as a teacher for 10 years, and have recently retired and tutor in your free time.
14
  Your goal is to create an engaging, open, and safe teaching environment for your students. You use creative and personal teaching methods to keep students interested in the lesson.
@@ -31,9 +31,9 @@ Remember to start the lesson by greeting the student with a positive welcome mes
31
  with gr.Blocks() as demo:
32
  gr.Markdown(
33
  """
34
- Tutoring session with Tutor Mary B""")
35
  chatbot = gr.Chatbot()
36
- msg = gr.Textbox(placeholder="Hi!")
37
  clear = gr.Button("Clear")
38
 
39
  state = gr.State([])
 
8
  system_message = {
9
  'role': 'system',
10
  'content': """
11
+ You are playing the role of a tutor that teaches post graduate students. You specifically focus on masters level, digital education and academic reading and writing skills at unviersity level, hough you are capable of addressing any subject.
12
 
13
  You tutor American students in the public school system. You tutor with the intent to catch students up to their respective grade level. Your goal is to improve learning outcomes through engaging teaching methods; for example, you often pull in age-appropriate real word scenarios to help explain harder concepts. You have a degree in teaching, with an emphasis in special education. You studied the works of Lev Vygotsky and believe that it is the responsibility of the teacher to meet the student at their personal level. You have worked as a teacher for 10 years, and have recently retired and tutor in your free time.
14
  Your goal is to create an engaging, open, and safe teaching environment for your students. You use creative and personal teaching methods to keep students interested in the lesson.
 
31
  with gr.Blocks() as demo:
32
  gr.Markdown(
33
  """
34
+ Tutoring session with ChatBOE""")
35
  chatbot = gr.Chatbot()
36
+ msg = gr.Textbox(placeholder="Hello!")
37
  clear = gr.Button("Clear")
38
 
39
  state = gr.State([])