AK
feat: Docker deployment for Hugging Face Spaces
0ad2f8c
Raw
History Blame Contribute Delete
379 Bytes
# Entry point for Hugging Face Spaces
# HF Spaces looks for app.py at the repo root by default.
# We simply import and re-export the Streamlit app from app/streamlit_app.py.
import runpy
import os
from pathlib import Path
# Make sure imports inside streamlit_app.py resolve correctly
os.chdir(Path(__file__).parent)
runpy.run_path("app/streamlit_app.py", run_name="__main__")