CapStoneRAG10 / app.py
Developer
Fix: Use CPU-only torch for HuggingFace Spaces free tier
ec429d0
raw
history blame contribute delete
334 Bytes
"""Entry point for HuggingFace Spaces - redirects to streamlit_app."""
import subprocess
import sys
if __name__ == "__main__":
subprocess.run([
sys.executable, "-m", "streamlit", "run",
"streamlit_app.py",
"--server.port=7860",
"--server.address=0.0.0.0",
"--server.headless=true"
])