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()