Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def start_test(student_id):
|
|
| 113 |
if not student_id or student_id.strip() == "":
|
| 114 |
return (
|
| 115 |
"", "", 0, "", "",
|
| 116 |
-
"⚠️
|
| 117 |
False, "", "", ""
|
| 118 |
)
|
| 119 |
|
|
@@ -207,7 +207,7 @@ def next_step(prev_level, user_answer, question_text, passage_text,
|
|
| 207 |
with gr.Blocks() as demo:
|
| 208 |
gr.Markdown("# 📘 Lexile Level Test")
|
| 209 |
|
| 210 |
-
student_id_input = gr.Textbox(label="Student ID", placeholder="
|
| 211 |
start_btn = gr.Button("▶️ Start Test")
|
| 212 |
|
| 213 |
text_display = gr.Textbox(label="Reading Passage", lines=8, interactive=False)
|
|
|
|
| 113 |
if not student_id or student_id.strip() == "":
|
| 114 |
return (
|
| 115 |
"", "", 0, "", "",
|
| 116 |
+
"⚠️ 学生番号を入力してからテストを開始してください",
|
| 117 |
False, "", "", ""
|
| 118 |
)
|
| 119 |
|
|
|
|
| 207 |
with gr.Blocks() as demo:
|
| 208 |
gr.Markdown("# 📘 Lexile Level Test")
|
| 209 |
|
| 210 |
+
student_id_input = gr.Textbox(label="Student ID", placeholder="例: B123456")
|
| 211 |
start_btn = gr.Button("▶️ Start Test")
|
| 212 |
|
| 213 |
text_display = gr.Textbox(label="Reading Passage", lines=8, interactive=False)
|