| import sys | |
| import os | |
| # Add the src directory to the path so we can import from it | |
| sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "src"))) | |
| # Import the actual streamlit app | |
| # We execute the file as a script because streamlit expects to run a script | |
| # This is a wrapper to point streamlit to the right place if run from root | |
| import src.app | |
| if __name__ == "__main__": | |
| # This block usually isn't reached by streamlit run, but good practice | |
| pass | |