Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|