ok:
Browse files
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("/
|
| 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"}
|