Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -441,7 +441,7 @@ async def assess_multihazard(data: SingleAssessment) -> Dict:
|
|
| 441 |
@app.post("/get_height_gba")
|
| 442 |
async def get_height_gba(data: SingleAssessment):
|
| 443 |
try:
|
| 444 |
-
result = gba_getter.get_height_m(data.latitude, data.longitude, buffer_m=
|
| 445 |
|
| 446 |
if result.get("status") != "success":
|
| 447 |
raise HTTPException(status_code=404, detail="GBA height not found for this location")
|
|
|
|
| 441 |
@app.post("/get_height_gba")
|
| 442 |
async def get_height_gba(data: SingleAssessment):
|
| 443 |
try:
|
| 444 |
+
result = gba_getter.get_height_m(data.latitude, data.longitude, buffer_m=5.0)
|
| 445 |
|
| 446 |
if result.get("status") != "success":
|
| 447 |
raise HTTPException(status_code=404, detail="GBA height not found for this location")
|