Spaces:
Sleeping
Sleeping
Update api.py
Browse files
api.py
CHANGED
|
@@ -101,7 +101,7 @@ class FloodFeatures(BaseModel):
|
|
| 101 |
# REQUEST / RESPONSE SCHEMAS
|
| 102 |
# ============================================================================
|
| 103 |
|
| 104 |
-
class
|
| 105 |
features: FloodFeatures
|
| 106 |
...,
|
| 107 |
description="Feature values. Get schema from GET /features/{disaster_type}"
|
|
|
|
| 101 |
# REQUEST / RESPONSE SCHEMAS
|
| 102 |
# ============================================================================
|
| 103 |
|
| 104 |
+
class FloodPredictionRequest(BaseModel):
|
| 105 |
features: FloodFeatures
|
| 106 |
...,
|
| 107 |
description="Feature values. Get schema from GET /features/{disaster_type}"
|