singhankur01 commited on
Commit
87a9953
·
verified ·
1 Parent(s): ff227f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -278,16 +278,16 @@ async def run_hackrx(req: RunRequest):
278
  # Step 3: Choose the flight path based on landmark
279
  # print("Step 3: Determining the correct flight path...")
280
  base_flight_url = "https://register.hackrx.in/teams/public/flights/"
281
- if landmark == "Gateway of India":
282
- final_url = base_flight_url + "getFirstCityFlightNumber"
283
- elif landmark == "Taj Mahal":
284
- final_url = base_flight_url + "getSecondCityFlightNumber"
285
- elif landmark == "Eiffel Tower":
286
- final_url = base_flight_url + "getThirdCityFlightNumber"
287
- elif landmark == "Big Ben":
288
- final_url = base_flight_url + "getFourthCityFlightNumber"
289
- else:
290
- final_url = base_flight_url + "getFifthCityFlightNumber"
291
 
292
  # print(f"✅ Correct flight path URL: {final_url}")
293
 
 
278
  # Step 3: Choose the flight path based on landmark
279
  # print("Step 3: Determining the correct flight path...")
280
  base_flight_url = "https://register.hackrx.in/teams/public/flights/"
281
+ # if landmark == "Gateway of India":
282
+ final_url = base_flight_url + "getFirstCityFlightNumber"
283
+ # elif landmark == "Taj Mahal":
284
+ # final_url = base_flight_url + "getSecondCityFlightNumber"
285
+ # elif landmark == "Eiffel Tower":
286
+ # final_url = base_flight_url + "getThirdCityFlightNumber"
287
+ # elif landmark == "Big Ben":
288
+ # final_url = base_flight_url + "getFourthCityFlightNumber"
289
+ # else:
290
+ # final_url = base_flight_url + "getFifthCityFlightNumber"
291
 
292
  # print(f"✅ Correct flight path URL: {final_url}")
293