From e693f5ee2a311100b33e1791a746b8d729bed077 Mon Sep 17 00:00:00 2001 From: Cristiano Ferreira Date: Thu, 27 Jun 2024 22:48:42 +0100 Subject: [PATCH] Make speaking 1 questions simple. --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index b1d302d..5dcc446 100644 --- a/app.py +++ b/app.py @@ -592,7 +592,7 @@ def grade_speaking_task_1(): @app.route('/speaking_task_1', methods=['GET']) @jwt_required() def get_speaking_task_1_question(): - difficulty = request.args.get("difficulty", default=random.choice(difficulties)) + difficulty = request.args.get("difficulty", default="easy") first_topic = request.args.get("first_topic", default=random.choice(mti_topics)) second_topic = request.args.get("second_topic", default=random.choice(mti_topics)) @@ -618,7 +618,7 @@ def get_speaking_task_1_question(): { "role": "user", "content": ( - 'Craft 5 thought-provoking questions of ' + difficulty + ' difficulty for IELTS Speaking Part 1 ' + 'Craft 5 simple questions of easy difficulty for IELTS Speaking Part 1 ' 'that encourages candidates to delve deeply into ' 'personal experiences, preferences, or insights on the topic ' 'of "' + first_topic + '" and the topic of "' + second_topic + '". Instruct the candidate '