""" Entry point for Hugging Face Spaces deployment This is a simple wrapper that runs the Streamlit app from the eda directory """ import sys import os from pathlib import Path # Get the eda directory path eda_dir = Path(__file__).parent / "eda" # Change to eda directory so Streamlit can find pages/ folder os.chdir(eda_dir) # Add both project root and eda to path project_root = Path(__file__).parent sys.path.insert(0, str(project_root)) sys.path.insert(0, str(eda_dir)) # Now import and run the app import app