File size: 345 Bytes
3751f09
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import os
import runpy

# Hugging Face Spaces and Cloud Platform root entrypoint
# This redirects execution directly to our main Streamlit app in scripts/app.py
if __name__ == "__main__":
    script_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "scripts", "app.py")
    runpy.run_path(script_path, run_name="__main__")