Debanna commited on
Commit
03f172a
·
verified ·
1 Parent(s): 46f8e0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -69,5 +69,8 @@ agent = CodeAgent(
69
  prompt_templates=prompt_templates
70
  )
71
 
 
 
 
72
 
73
  GradioUI(agent).launch()
 
69
  prompt_templates=prompt_templates
70
  )
71
 
72
+ # Register tool in global Python context to avoid python_interpreter failures
73
+ globals()["search_and_summarize"] = search_and_summarize
74
+ globals()["get_current_time_in_timezone"] = get_current_time_in_timezone
75
 
76
  GradioUI(agent).launch()