Using gunicorn for production

This commit is contained in:
Roger Gonzalez 2023-05-13 21:25:13 -03:00
parent f4d4a3155f
commit 00a545fdc2
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
2 changed files with 1 additions and 4 deletions

4
app.py
View File

@ -123,7 +123,3 @@ def start():
def topic():
topic = request.args.get("topic")
return get_chatgpt_response(topic)
if __name__ == "__main__":
app.run()

View File

@ -11,6 +11,7 @@ distlib==0.3.6
filelock==3.12.0
Flask==2.3.2
frozenlist==1.3.3
gunicorn==20.1.0
html5lib==1.1
identify==2.5.24
idna==3.4