Skip to content

Commit fd39778

Browse files
authored
1 parent 46e8216 commit fd39778

File tree

1 file changed

+2
-2
lines changed
  • education-ai-suite/smart-classroom

1 file changed

+2
-2
lines changed

education-ai-suite/smart-classroom/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
expose_headers=["x-session-id"] # expose custom headers if needed
3131
)
3232

33+
register_routes(app)
34+
3335
def system_check():
3436
if (not system_checker.check_system_requirements()) and (not system_checker.show_warning_and_prompt_user_to_continue()):
3537
sys.exit(1)
3638

37-
3839
if __name__ == "__main__":
3940

4041
system_check()
41-
register_routes(app)
4242
RuntimeConfig.ensure_config_exists()
4343
ensure_model()
4444
preload_models()

0 commit comments

Comments
 (0)