adema5051 commited on
Commit
7e94773
·
verified ·
1 Parent(s): 9197e5b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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=20.0)
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")