File size: 208 Bytes
889a5cc
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import uvicorn
import os

from app import app
from dotenv import load_dotenv

load_dotenv()
port = int(os.getenv('PORT', 3151))

if __name__ == '__main__':
        uvicorn.run(app, host='0.0.0.0', port=port)