Spaces:
Sleeping
Sleeping
Update app.py
Browse filesauthorized_imports is not a valid parameter for CodeAgent.__init__(). Handled internally.
app.py
CHANGED
|
@@ -445,9 +445,6 @@ agent = CodeAgent(
|
|
| 445 |
name="TravelCatalogueCreator",
|
| 446 |
description="Creates personalized travel catalogues with weather, budget, itinerary, and packing advice",
|
| 447 |
prompt_templates=prompt_templates,
|
| 448 |
-
authorized_imports=[
|
| 449 |
-
"datetime", "re", "requests", "json", "pytz", "math", "collections", "itertools"
|
| 450 |
-
]
|
| 451 |
)
|
| 452 |
|
| 453 |
# Launch Gradio interface
|
|
|
|
| 445 |
name="TravelCatalogueCreator",
|
| 446 |
description="Creates personalized travel catalogues with weather, budget, itinerary, and packing advice",
|
| 447 |
prompt_templates=prompt_templates,
|
|
|
|
|
|
|
|
|
|
| 448 |
)
|
| 449 |
|
| 450 |
# Launch Gradio interface
|