File size: 477 Bytes
ad06665 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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
|