Spaces:
Runtime error
Runtime error
Suchinthana
commited on
Commit
Β·
1139537
1
Parent(s):
0376c05
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ geolocator = Nominatim(user_agent="geoapi")
|
|
| 24 |
# Define Pydantic models for GeoJSON validation
|
| 25 |
class Geometry(BaseModel):
|
| 26 |
type: str
|
| 27 |
-
coordinates: Union[List[float], List[List[float]]]
|
| 28 |
|
| 29 |
class Feature(BaseModel):
|
| 30 |
type: str = "Feature"
|
|
|
|
| 24 |
# Define Pydantic models for GeoJSON validation
|
| 25 |
class Geometry(BaseModel):
|
| 26 |
type: str
|
| 27 |
+
coordinates: Union[List[float], List[List[List[float]]]]
|
| 28 |
|
| 29 |
class Feature(BaseModel):
|
| 30 |
type: str = "Feature"
|