Abs6187 commited on
Commit
2e7b41e
·
verified ·
1 Parent(s): 35c3540

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -95,6 +95,16 @@ try:
95
  except Exception as e:
96
  print(f"Error during imports: {str(e)}")
97
  # Don't exit here - we'll handle missing dependencies gracefully
 
 
 
 
 
 
 
 
 
 
98
 
99
  st.set_page_config(
100
  page_title="Your AI Travel Assistant",
 
95
  except Exception as e:
96
  print(f"Error during imports: {str(e)}")
97
  # Don't exit here - we'll handle missing dependencies gracefully
98
+ if 'run_task' not in globals():
99
+ def run_task(*args, **kwargs):
100
+ return f"⚠️ Error: The travel module could not be loaded due to missing dependencies: {str(e)}"
101
+ destination_research_task = "destination_research"
102
+ accommodation_task = "accommodation"
103
+ transportation_task = "transportation"
104
+ activities_task = "activities"
105
+ dining_task = "dining"
106
+ itinerary_task = "itinerary"
107
+ chatbot_task = "chatbot"
108
 
109
  st.set_page_config(
110
  page_title="Your AI Travel Assistant",