File size: 520 Bytes
cb8a7e5 79e7093 cb8a7e5 79e7093 cb8a7e5 79e7093 cb8a7e5 79e7093 cb8a7e5 79e7093 cb8a7e5 79e7093 cb8a7e5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
"""
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
|