Update app.py
Browse files
app.py
CHANGED
@@ -114,12 +114,4 @@ def home():
|
|
114 |
return "Welcome to the Chat Completion API", 200
|
115 |
|
116 |
if __name__ == '__main__':
|
117 |
-
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|