singhankur01 commited on
Commit
3cbd090
·
verified ·
1 Parent(s): 71d7b29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- # if landmark == "Gateway of India":
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"