shuv25 commited on
Commit
bda61b9
·
verified ·
1 Parent(s): 30bbc5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -227,23 +227,23 @@ def format_response(text):
227
  cards_created = 0
228
 
229
  if sections['multi_route'].strip():
230
- html += create_card("Multi-Destination Route Plan", sections['multi_route'], "#FF6B35", "multi_route")
231
  cards_created += 1
232
 
233
  if sections['route'].strip():
234
- html += create_card("Route Information", sections['route'], "#78C841", "route")
235
  cards_created += 1
236
 
237
  if sections['traffic'].strip():
238
- html += create_card("Traffic Analysis", sections['traffic'], "#f57c00", "traffic")
239
  cards_created += 1
240
 
241
  if sections['weather'].strip():
242
- html += create_card("Weather Conditions", sections['weather'], "#6B8E23", "weather")
243
  cards_created += 1
244
 
245
  if sections['cost'].strip():
246
- html += create_card("Cost Estimate", sections['cost'], "#7b1fa2", "cost")
247
  cards_created += 1
248
 
249
  if cards_created == 0:
 
227
  cards_created = 0
228
 
229
  if sections['multi_route'].strip():
230
+ html += create_card("Multi-Destination Route Plan", sections['multi_route'], "#F5F5F5", "multi_route")
231
  cards_created += 1
232
 
233
  if sections['route'].strip():
234
+ html += create_card("Route Information", sections['route'], "#F5F5F5", "route")
235
  cards_created += 1
236
 
237
  if sections['traffic'].strip():
238
+ html += create_card("Traffic Analysis", sections['traffic'], "#F5F5F5", "traffic")
239
  cards_created += 1
240
 
241
  if sections['weather'].strip():
242
+ html += create_card("Weather Conditions", sections['weather'], "#F5F5F5", "weather")
243
  cards_created += 1
244
 
245
  if sections['cost'].strip():
246
+ html += create_card("Cost Estimate", sections['cost'], "#F5F5F5", "cost")
247
  cards_created += 1
248
 
249
  if cards_created == 0: