File size: 256 Bytes
99afe26
 
ebdb126
 
c2cb984
99afe26
 
1
2
3
4
5
6
7
8
import subprocess

result = subprocess.run("sqlite3 --version", shell=True, capture_output=True, text=True)
print(result.stdout.strip())

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