Spaces:
Sleeping
Sleeping
Abdulla Fahem
commited on
Commit
·
d44a88e
1
Parent(s):
8208424
Update application file
Browse files
app.py
CHANGED
@@ -276,7 +276,7 @@ def generate_travel_plan(destination, days, interests, budget, model, tokenizer)
|
|
276 |
raise ValueError("Generated plan is empty")
|
277 |
|
278 |
# Format the plan using the new formatting function
|
279 |
-
formatted_plan = format_travel_plan(travel_plan, days)
|
280 |
|
281 |
return formatted_plan
|
282 |
|
|
|
276 |
raise ValueError("Generated plan is empty")
|
277 |
|
278 |
# Format the plan using the new formatting function
|
279 |
+
formatted_plan = format_travel_plan(travel_plan, destination, days)
|
280 |
|
281 |
return formatted_plan
|
282 |
|