aegislm / start.sh
ACA050's picture
Upload start.sh with huggingface_hub
5556622 verified
Raw
History Blame Contribute Delete
633 Bytes
#!/bin/bash
# =============================================================================
# AegisLM Startup Script for HuggingFace Spaces
#
# For HF Spaces, we only run the Gradio dashboard (app.py)
# The backend services are not needed in the Space itself
# =============================================================================
set -e
echo "========================================"
echo "AegisLM HuggingFace Spaces Startup"
echo "========================================"
# Set demo mode for HF Spaces
export DEMO_MODE=true
echo "Starting AegisLM Dashboard on port 7860..."
python app.py --port 7860 --host 0.0.0.0