Spaces:
Running
Running
File size: 765 Bytes
b524c65 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
"""
Quick start script for the Fitness AI Assistant.
Run this from the project root to start the application.
"""
import subprocess
import sys
from pathlib import Path
def main():
"""Start the fitness app using the run_gradio script."""
script_path = Path(__file__).parent / "scripts" / "run_gradio.py"
print("ποΈ Starting Fitness AI Assistant...")
print("π Use this script to quickly start the app from the project root")
print()
try:
subprocess.run([sys.executable, str(script_path)], check=True)
except subprocess.CalledProcessError as e:
print(f"β Failed to start app: {e}")
sys.exit(1)
except KeyboardInterrupt:
print("\nπ Goodbye!")
if __name__ == "__main__":
main()
|