Spaces:
Running
on
Zero
Running
on
Zero
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"
|