xset commited on
Commit
e87cc8b
·
1 Parent(s): 6a28383
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -61,6 +61,6 @@ async def generate_text(request: RequestData):
61
  except Exception as e:
62
  raise HTTPException(status_code=500, detail=str(e))
63
 
64
- @app.get("/health")
65
  async def health_check():
66
  return {"status": "ok" if generator else "unavailable"}
 
61
  except Exception as e:
62
  raise HTTPException(status_code=500, detail=str(e))
63
 
64
+ @app.get("/")
65
  async def health_check():
66
  return {"status": "ok" if generator else "unavailable"}