fleetmind / src /server /app.py
Rishav
Add explicit server main guard
e13cc5b
raw
history blame contribute delete
228 Bytes
from __future__ import annotations
import uvicorn
from delivery_dispatch.api import app
def main() -> None:
uvicorn.run(app, host="0.0.0.0", port=7860)
if __name__ == "__main__":
main()
__all__ = ["app", "main"]