Files
sqrtspace-experiments/dashboard/run_dashboard.py

25 lines
603 B
Python
Raw Normal View History

2025-07-20 03:56:21 -04:00
#!/usr/bin/env python3
"""
Launch the Space-Time Tradeoffs Dashboard
"""
import subprocess
import sys
import os
def main():
# Check if streamlit is installed
try:
import streamlit
except ImportError:
print("Streamlit not found. Installing requirements...")
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", "requirements.txt"])
# Launch the dashboard
print("Launching Space-Time Tradeoffs Dashboard...")
print("Opening in your default browser...")
os.system("streamlit run app.py")
if __name__ == "__main__":
main()