Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,6 +33,10 @@ async def convert_to_g2pk(request: TextRequest):
|
|
| 33 |
except Exception as e:
|
| 34 |
return {"error": str(e)}
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
if __name__ == "__main__":
|
| 38 |
import uvicorn
|
|
|
|
| 33 |
except Exception as e:
|
| 34 |
return {"error": str(e)}
|
| 35 |
|
| 36 |
+
@app.get("/healthcheck")
|
| 37 |
+
async def healthcheck():
|
| 38 |
+
return {"status": "ok"}
|
| 39 |
+
|
| 40 |
|
| 41 |
if __name__ == "__main__":
|
| 42 |
import uvicorn
|