ParthSadaria commited on
Commit
005b429
·
verified ·
1 Parent(s): 607ae3e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -193,7 +193,7 @@ async def get_models():
193
  @app.get("/models")
194
  async def fetch_models():
195
  return await get_models()
196
- server_status = False
197
  @app.post("/chat/completions")
198
  @app.post("api/v1/chat/completions")
199
  async def get_completion(payload: Payload, request: Request):
 
193
  @app.get("/models")
194
  async def fetch_models():
195
  return await get_models()
196
+ server_status = True
197
  @app.post("/chat/completions")
198
  @app.post("api/v1/chat/completions")
199
  async def get_completion(payload: Payload, request: Request):