fitness-app / start.py
github-actions[bot]
πŸ€– Auto-deploy from GitHub (push) - 928edff - 2025-08-02 21:11:06 UTC
b524c65
raw
history blame contribute delete
765 Bytes
"""
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()