File size: 332 Bytes
81e328b
c54ccdc
81e328b
 
 
 
 
 
c54ccdc
81e328b
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
This is the server entry point for openenv validate compatibility.
"""
import uvicorn
from src.api import app  # noqa: F401


def main():
    """Starting the FastAPI server."""
    uvicorn.run(
        "src.api:app",
        host="0.0.0.0",
        port=7860,
        reload=False,
    )


if __name__ == "__main__":
    main()