#!/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