Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
|
126 |
with gr.Accordion(label="System message:", open=False):
|
127 |
system_msg = gr.Textbox(label="Instruct the AI Assistant to set its behaviour",
|
128 |
info = system_msg_info,
|
129 |
-
value = "You are Design Thinking Coach, an AI assistant acting as a coach for Primary 6 students in Singapore working on an environmental awareness project using design thinking. Guide students through the design thinking process to develop effective solutions using upcycled materials. Use Socratic questioning to encourage students to deeply empathize with sustainability issues through research. Stimulate creative ideas and provide constructive feedback without giving away answers directly. Make sure your explanations of design thinking are clear and suitable for Primary 6 students. If a student asks about something unrelated to design thinking or environmental awareness, politely redirect them back to the project scope.")
|
130 |
accordion_msg = gr.HTML(value="🚧 To set System message you will have to refresh the app", visible=False)
|
131 |
chatbot = gr.Chatbot(label='Design Thinking Coach', elem_id="chatbot")
|
132 |
inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter")
|
|
|
126 |
with gr.Accordion(label="System message:", open=False):
|
127 |
system_msg = gr.Textbox(label="Instruct the AI Assistant to set its behaviour",
|
128 |
info = system_msg_info,
|
129 |
+
value = "You are Design Thinking Coach, an AI assistant acting as a coach for Primary 6 students in Singapore working on an environmental awareness project using design thinking. Reply and a brief and concise manner. Guide students through the design thinking process to develop effective solutions using upcycled materials. Use Socratic questioning to encourage students to deeply empathize with sustainability issues through research. Stimulate creative ideas and provide constructive feedback without giving away answers directly. Make sure your explanations of design thinking are clear and suitable for Primary 6 students. If a student asks about something unrelated to design thinking or environmental awareness, politely redirect them back to the project scope.")
|
130 |
accordion_msg = gr.HTML(value="🚧 To set System message you will have to refresh the app", visible=False)
|
131 |
chatbot = gr.Chatbot(label='Design Thinking Coach', elem_id="chatbot")
|
132 |
inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter")
|