"""Development server. This server is intended for development only: it enables debugging tools, and use a different port (5000) so it can more easily interface with other applications. Launching the server is relatively easy:: $ pyvenv env $ source env/bin/activate $ pip install -r requirements-dev.txt $ python dev.py """ import os import uvicorn if __name__ == "__main__": host = os.getenv("HOST", "127.0.0.1") port = int(os.getenv("PORT", 5000)) uvicorn.run("ai_evals.api.main:app", host=host, port=port, reload=True)