smgc commited on
Commit
e3f0a25
1 Parent(s): e7f7b61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -114,12 +114,4 @@ def home():
114
  return "Welcome to the Chat Completion API", 200
115
 
116
  if __name__ == '__main__':
117
- from hypercorn.config import Config
118
- from hypercorn.asyncio import serve
119
- import asyncio
120
-
121
- config = Config()
122
- config.bind = ["0.0.0.0:8000"]
123
- config.use_reloader = True
124
-
125
- asyncio.run(serve(app, config))
 
114
  return "Welcome to the Chat Completion API", 200
115
 
116
  if __name__ == '__main__':
117
+ app.run(host='0.0.0.0', port=8000)