Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -288,7 +288,7 @@ async def run_hackrx(req: RunRequest):
|
|
| 288 |
# Step 3: Choose the flight path based on landmark
|
| 289 |
# print("Step 3: Determining the correct flight path...")
|
| 290 |
base_flight_url = "https://register.hackrx.in/teams/public/flights/"
|
| 291 |
-
|
| 292 |
final_url = base_flight_url + "getFirstCityFlightNumber"
|
| 293 |
elif landmark == "Taj Mahal":
|
| 294 |
final_url = base_flight_url + "getSecondCityFlightNumber"
|
|
|
|
| 288 |
# Step 3: Choose the flight path based on landmark
|
| 289 |
# print("Step 3: Determining the correct flight path...")
|
| 290 |
base_flight_url = "https://register.hackrx.in/teams/public/flights/"
|
| 291 |
+
if landmark == "Gateway of India":
|
| 292 |
final_url = base_flight_url + "getFirstCityFlightNumber"
|
| 293 |
elif landmark == "Taj Mahal":
|
| 294 |
final_url = base_flight_url + "getSecondCityFlightNumber"
|