import subprocess print("Starting FastSD CPU please wait...") subprocess.run(["python3", "src/app.py", "--api", "--port", "7860"])