intersteller2887 commited on
Commit
2df06f5
·
verified ·
1 Parent(s): 0a8ae6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -178,7 +178,7 @@ def toggle_education_other(choice):
178
  is_other = (choice == "其他(请注明)")
179
  return gr.update(visible=is_other, interactive=is_other, value="")
180
 
181
- def check_info_complete(age, gender, education, education_other, ai_experience):
182
  if username.strip() and age and gender and education and ai_experience:
183
  if education == "其他(请注明)" and not education_other.strip():
184
  return gr.update(interactive=False)
 
178
  is_other = (choice == "其他(请注明)")
179
  return gr.update(visible=is_other, interactive=is_other, value="")
180
 
181
+ def check_info_complete(username, age, gender, education, education_other, ai_experience):
182
  if username.strip() and age and gender and education and ai_experience:
183
  if education == "其他(请注明)" and not education_other.strip():
184
  return gr.update(interactive=False)