diff --git a/app.py b/app.py index 0f626c5..74e8301 100644 --- a/app.py +++ b/app.py @@ -349,4 +349,11 @@ def main() -> None: print("Press Ctrl+C to stop") print() - app.run(host=args.host, port=args.port, debug=args.debug, threaded=True) +# Avoid loading a global ~/.env when running the script directly. + app.run( + host=args.host, + port=args.port, + debug=args.debug, + threaded=True, + load_dotenv=False, + ) \ No newline at end of file