Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -242,6 +242,16 @@ def calculate_eta(last_location: dict) -> str:
|
|
| 242 |
# Implement actual ETA calculation logic here.
|
| 243 |
return "30 minutes"
|
| 244 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
# --------------------
|
| 246 |
# MAIN APPLICATION
|
| 247 |
# --------------------
|
|
|
|
| 242 |
# Implement actual ETA calculation logic here.
|
| 243 |
return "30 minutes"
|
| 244 |
|
| 245 |
+
TOWN_SHIPPING_COSTS = {
|
| 246 |
+
"lasu gate": 1000,
|
| 247 |
+
"ojo": 800,
|
| 248 |
+
"ajangbadi": 1200,
|
| 249 |
+
"iba": 900,
|
| 250 |
+
"okokomaiko": 1500,
|
| 251 |
+
"default": 1000 # Default if location is not listed
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
|
| 255 |
# --------------------
|
| 256 |
# MAIN APPLICATION
|
| 257 |
# --------------------
|