import subprocess print("Starting the FastAPI server...") subprocess.run("uvicorn fast_app:app --host 0.0.0.0 --port 7860", shell=True)