| import sys | |
| import os | |
| # Make sure the app directory is on the path | |
| sys.path.insert(0, os.path.dirname(__file__)) | |
| # Import build_ui from the actual file name | |
| from smart_math_tutor_enhanced import build_ui | |
| if __name__ == "__main__": | |
| app, theme = build_ui() | |
| app.launch(server_name="0.0.0.0", server_port=7860, share=False) |