Spaces:
Sleeping
Sleeping
| # app.py | |
| import sys | |
| import os | |
| # Add src folder to path | |
| sys.path.append(os.path.join(os.path.dirname(__file__), "src")) | |
| import streamlit as st | |
| from streamlit_app import * # import everything from your original script | |
| # Optionally, you can wrap the existing function call here | |
| if __name__ == "__main__": | |
| main() # make sure your original script defines a main() function | |