File size: 137 Bytes
99afe26
 
 
 
1
2
3
4
5
import subprocess

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