Toya0421 commited on
Commit
06e2fe2
·
verified ·
1 Parent(s): e93fdee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- "⚠️ Student ID must be entered before starting.",
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="e.g. S123456")
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)