Anshini commited on
Commit
83a5f87
·
verified ·
1 Parent(s): bea502e

Update travel_logic.py

Browse files
Files changed (1) hide show
  1. travel_logic.py +5 -5
travel_logic.py CHANGED
@@ -189,11 +189,11 @@ def get_mode_options(source: str, destination: str, mode: str) -> str:
189
  # for _, row in df.iterrows():
190
  # result += f"• ⏱️ {row['duration']} | 💸 ₹{row['cost (inr)']} | 🚍 {row['service_name']}\n"
191
  for i, (_, row) in enumerate(df.iterrows(), 1):
192
- result += (
193
- f"\n{i}. 🕒 **Duration**: {row['duration']}\n"
194
- f" 💰 **Fare**: ₹{row['cost (inr)']}\n"
195
- f" 🚍 **Service**: {row['service_name']}\n"
196
- )
197
 
198
  # Best picks
199
  cheapest = df.loc[df['cost (inr)'].idxmin()]
 
189
  # for _, row in df.iterrows():
190
  # result += f"• ⏱️ {row['duration']} | 💸 ₹{row['cost (inr)']} | 🚍 {row['service_name']}\n"
191
  for i, (_, row) in enumerate(df.iterrows(), 1):
192
+ result += (
193
+ f"\n{i}. 🕒 **Duration**: {row['duration']}\n"
194
+ f" 💰 **Fare**: ₹{row['cost (inr)']}\n"
195
+ f" 🚍 **Service**: {row['service_name']}\n"
196
+ )
197
 
198
  # Best picks
199
  cheapest = df.loc[df['cost (inr)'].idxmin()]