Spaces:
Sleeping
Sleeping
alessandro trinca tornidor
commited on
Commit
•
fe90c44
1
Parent(s):
5350122
[fix] fix /health
Browse files
wrappers/fastapi_wrapper.py
CHANGED
@@ -53,9 +53,8 @@ def post_test_dictlist2(request_input: ApiRequestBody) -> JSONResponse:
|
|
53 |
async def health() -> JSONResponse:
|
54 |
from samgis.__version__ import __version__ as version
|
55 |
from samgis_core.__version__ import __version__ as version_core
|
56 |
-
from lisa_on_cuda.__vesion__ import __version__ as version_lisa
|
57 |
|
58 |
-
app_logger.info(f"still alive, version:{version}, core version:{version_core}
|
59 |
return JSONResponse(status_code=200, content={"msg": "still alive..."})
|
60 |
|
61 |
|
|
|
53 |
async def health() -> JSONResponse:
|
54 |
from samgis.__version__ import __version__ as version
|
55 |
from samgis_core.__version__ import __version__ as version_core
|
|
|
56 |
|
57 |
+
app_logger.info(f"still alive, version:{version}, core version:{version_core}.")
|
58 |
return JSONResponse(status_code=200, content={"msg": "still alive..."})
|
59 |
|
60 |
|