samgis / src /app.py

Commit History

[feat] add input parsing and validation with pydantic, refactor code
85dd36a

aletrn commited on

[test] add get_parsed_bbox_points test case, refactor test structure
238719b

aletrn commited on

[feat] add first working use of pydantic input validation
dcc25fd

aletrn commited on

[refactor] refactor and remove unused code, remove unused deps
4d26ef2

aletrn commited on

[refactor] remove and transform unuseful logs to debug
5b88544

aletrn commited on

[bug] fix wrong latlng to xy pixel conversion, update .gitignore and .dockerignore
b241742

aletrn commited on

[feat] wip workflow from request to response
6d1f220

aletrn commited on

[feat] handle prompt point as lat-lng coordinates
9271aef

aletrn commited on

[feat] use post body as input
43d87b3

aletrn commited on

[debug] add geopandas and rasterio to convert the FastSAM mask prediction into a geojson
2f5b9e0

aletrn commited on

[debug] first test on lambda for fastsam prediction
fa76f5f

aletrn commited on

[debug] first test on lambda for tms2geotiff functions (fix response body)
ddb71db

aletrn commited on

[debug] first test on lambda for tms2geotiff functions
ee50e01

aletrn commited on

[debug] add debug logs, set os.environ['MPLCONFIGDIR']
3d82071

aletrn commited on

[refactor] rename predictor.py, move ROOT folder to /tmp to avoid RO filesystem errors
e945b1f

aletrn commited on

[refactor, fix] some minor fixes
26b4f04

aletrn commited on

[feat] re-add samgeo with segment-anything-fast
7d6e00c

aletrn commited on

[fix] fix wrong response statusCode
8c1934b

aletrn commited on

[refactor] remove JSONResponse
150cbc9

aletrn commited on

[refactor] refactor error responses
28ea6eb

aletrn commited on

[feat] use json dumped dict response instead than JSONResponse
6f1250c

aletrn commited on

[fix] try handling cases with b64encoded body
da5737b

aletrn commited on

[feat] handle better error responses
3dbe011

aletrn commited on

[fix] fix request, prepare run on aws lambda
f2a79fa

aletrn commited on

[feat] switch to aws lambda powertools logger
c6054f0

aletrn commited on

[feat] revert to aws lambda - wip
243f395

aletrn commited on