Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def intelligent_tutor(audio_file, provide_hints=False):
|
|
74 |
# All questions have been answered, provide a summary
|
75 |
summary_prompt = {
|
76 |
"role": "system",
|
77 |
-
"content": f"
|
78 |
}
|
79 |
summary_conversation = [summary_prompt, {"role": "user", "content": " ".join(conversation_history)}]
|
80 |
|
|
|
74 |
# All questions have been answered, provide a summary
|
75 |
summary_prompt = {
|
76 |
"role": "system",
|
77 |
+
"content": f"你是一名中文老师,正在帮助新加坡小六的学生。学生正在回答这个问题:'{questions[current_question_index]}'。请用简单的词汇和句子给出反馈,帮助学生改进。"
|
78 |
}
|
79 |
summary_conversation = [summary_prompt, {"role": "user", "content": " ".join(conversation_history)}]
|
80 |
|