Using gunicorn for production
This commit is contained in:
parent
f4d4a3155f
commit
00a545fdc2
4
app.py
4
app.py
@ -123,7 +123,3 @@ def start():
|
||||
def topic():
|
||||
topic = request.args.get("topic")
|
||||
return get_chatgpt_response(topic)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run()
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user