File size: 336 Bytes
39cfcd1
96a7879
492ec2c
96a7879
1103f3b
 
 
 
155093c
2b293aa
1103f3b
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Application entrypoint for the structural rewrite API."""

from __future__ import annotations

import os

import uvicorn


if __name__ == "__main__":
    host = os.environ.get("HOST", "0.0.0.0")
    port = int(os.environ.get("PORT", "7860") or "7860")
    uvicorn.run("app.main:app", host=host, port=port, reload=False)