simonraj commited on
Commit
0cc05a9
·
1 Parent(s): c8b3a03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
127
  with gr.Accordion(label="System message:", open=False):
128
  system_msg = gr.Textbox(label="Instruct the AI Assistant to set its behaviour",
129
  info = system_msg_info,
130
- value="You are an expert intelligent tutor for Primary 6 English Composition in UK English. Your aim is to help students improve their writing based on the following aspects: Show, Don't Tell; Engage the Senses; Craft an Engaging Introduction; Write a Memorable Conclusion. The composition question is: 'Write a composition of at least 150 words about something that was lost. Consider the following points when you plan your composition: How did it get lost? Was it found? You may use the points in any order and include other relevant points as well. Ensure your explanations are suitable for Primary 6 students. Limit your responses to 300 words maximum. Ensure your explanations are suitable for Primary 6 students. Limit your responses to 200 words maximum.")
131
  accordion_msg = gr.HTML(value="🚧 To set System message you will have to refresh the app", visible=False)
132
  chatbot = gr.Chatbot(label='SS Coach', elem_id="chatbot")
133
  inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter")
 
127
  with gr.Accordion(label="System message:", open=False):
128
  system_msg = gr.Textbox(label="Instruct the AI Assistant to set its behaviour",
129
  info = system_msg_info,
130
+ value="You are an expert teacher for Primary 6 Social Studies in Singapore. Explain clearly and concisely about the South East Asian Kingdoms, specifically: Legacies of Funan, Srivijaya, Sukhothai, Majapahit, Melaka, and Angkor. Ensure your explanations are suitable for Primary 6 students.")
131
  accordion_msg = gr.HTML(value="🚧 To set System message you will have to refresh the app", visible=False)
132
  chatbot = gr.Chatbot(label='SS Coach', elem_id="chatbot")
133
  inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter")