clarindasusan commited on
Commit
b3330fb
·
verified ·
1 Parent(s): 7e2281b

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +2 -2
api.py CHANGED
@@ -372,7 +372,7 @@ def predict_all(req: MultiHazardRequest):
372
  }
373
 
374
 
375
- '''
376
 
377
  import numpy as np # needed for explain endpoint
378
 
@@ -809,7 +809,7 @@ def get_flood_risk_single_city(city_name: str):
809
  "flood_features": flood_features,
810
  **prediction_result_to_dict(result),
811
  "timestamp": datetime.now().isoformat(),
812
- }'''
813
  # ============================================================================
814
  # LANE-LEVEL FLOOD MAP ENDPOINTS
815
  # ============================================================================
 
372
  }
373
 
374
 
375
+
376
 
377
  import numpy as np # needed for explain endpoint
378
 
 
809
  "flood_features": flood_features,
810
  **prediction_result_to_dict(result),
811
  "timestamp": datetime.now().isoformat(),
812
+ }
813
  # ============================================================================
814
  # LANE-LEVEL FLOOD MAP ENDPOINTS
815
  # ============================================================================