From 9a799c39d3d1fa85c3c72c8b792e08ae8f80dae3 Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 29 Oct 2021 23:01:38 -0400 Subject: [PATCH] removed unvicorn --- Procfile | 2 +- app.py | 2 +- requirements.txt | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Procfile b/Procfile index b8a015b..9af4d6b 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn -w 4 -k uvicorn.workers.UvicornWorker app:app +web: gunicorn app:app --workers=4 \ No newline at end of file diff --git a/app.py b/app.py index b900bfe..c584fa3 100644 --- a/app.py +++ b/app.py @@ -14,4 +14,4 @@ def index(): if __name__ == '__main__': - app.run() + serve(app, host='0.0.0.0', port=8000) diff --git a/requirements.txt b/requirements.txt index 4ed1d52..539cd70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,4 @@ itsdangerous==2.0.1 Jinja2==3.0.2 MarkupSafe==2.0.1 Werkzeug==2.0.2 -uvicorn==0.14.0 gunicorn==20.1.0