Duplicated from templates/fastapi-uvicorn
df8d5b7 c944527
1
2
3
4
import subprocess subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7860", shell=True)