From 367adf75515b39c769f056de2ae082d41ad2a8ef Mon Sep 17 00:00:00 2001 From: sparrowsurya Date: Sun, 25 Aug 2024 23:03:57 +0530 Subject: [PATCH] remove run.py and readme update --- README.md | 4 ++-- run.py | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 run.py diff --git a/README.md b/README.md index cd6a1de..07c6c02 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,5 @@ python3 -m pip install -r requirements.txt 3. Run the api ```sh -uvicrn api.main:app --log-config=log_config.yaml -``` +uvicorn api.main:app --log-config=log_config.json +``` \ No newline at end of file diff --git a/run.py b/run.py deleted file mode 100644 index abf31f1..0000000 --- a/run.py +++ /dev/null @@ -1,12 +0,0 @@ -import uvicorn - -from api.main import app - - -def main(): - log_config_file = "log_config.json" - uvicorn.run(app, log_config=log_config_file) - - -if __name__ == "__main__": - main() \ No newline at end of file