Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -873,17 +873,33 @@ with gr.Blocks(
|
|
| 873 |
)
|
| 874 |
|
| 875 |
quiz_instruction = (
|
| 876 |
-
|
| 877 |
-
|
| 878 |
-
|
| 879 |
-
|
| 880 |
-
|
| 881 |
-
|
| 882 |
-
|
| 883 |
-
|
| 884 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 885 |
)
|
| 886 |
|
|
|
|
| 887 |
resolved_lang = lang_pref
|
| 888 |
|
| 889 |
start_ts = time.time()
|
|
|
|
| 873 |
)
|
| 874 |
|
| 875 |
quiz_instruction = (
|
| 876 |
+
"We are running a short micro-quiz session based ONLY on **Module 10 – "
|
| 877 |
+
"Responsible AI (Alto, 2024, Chapter 12)** and the pre-loaded materials.\n\n"
|
| 878 |
+
"Step 1 – Before asking any content question:\n"
|
| 879 |
+
"• First ask me which quiz style I prefer right now:\n"
|
| 880 |
+
" - (1) Multiple-choice questions\n"
|
| 881 |
+
" - (2) Short-answer / open-ended questions\n"
|
| 882 |
+
"• Ask me explicitly: \"Which quiz style do you prefer now: 1) Multiple-choice or 2) Short-answer? "
|
| 883 |
+
"Please reply with 1 or 2.\"\n"
|
| 884 |
+
"• Do NOT start a content question until I have answered 1 or 2.\n\n"
|
| 885 |
+
"Step 2 – After I choose the style:\n"
|
| 886 |
+
"• If I choose 1 (multiple-choice):\n"
|
| 887 |
+
" - Ask ONE multiple-choice question at a time, based on Module 10 concepts "
|
| 888 |
+
"(Responsible AI definition, risk types, mitigation layers, EU AI Act, etc.).\n"
|
| 889 |
+
" - Provide 3–4 options (A, B, C, D) and make only one option clearly correct.\n"
|
| 890 |
+
"• If I choose 2 (short-answer):\n"
|
| 891 |
+
" - Ask ONE short-answer question at a time, also based on Module 10 concepts.\n"
|
| 892 |
+
" - Do NOT show the answer when you ask the question.\n\n"
|
| 893 |
+
"Step 3 – For each answer I give:\n"
|
| 894 |
+
"• Grade my answer (correct / partially correct / incorrect).\n"
|
| 895 |
+
"• Give a brief explanation and the correct answer.\n"
|
| 896 |
+
"• Then ask if I want another question of the SAME style.\n"
|
| 897 |
+
"• Continue this pattern until I explicitly say to stop.\n\n"
|
| 898 |
+
"Please start by asking me which quiz style I prefer (1 = multiple-choice, 2 = short-answer). "
|
| 899 |
+
"Do not ask any content question before I choose."
|
| 900 |
)
|
| 901 |
|
| 902 |
+
|
| 903 |
resolved_lang = lang_pref
|
| 904 |
|
| 905 |
start_ts = time.time()
|