File size: 273 Bytes
5c3e08d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""
Validator-facing server entrypoint.
"""
from __future__ import annotations

import uvicorn

from app import app


def main(host: str = "0.0.0.0", port: int = 7860) -> None:
    uvicorn.run("server.app:app", host=host, port=port)


if __name__ == "__main__":
    main()