agarwalamit081 commited on
Commit
cba004a
·
verified ·
1 Parent(s): 6b4a562

Update app.py

Browse files

authorized_imports is not a valid parameter for CodeAgent.__init__(). Handled internally.

Files changed (1) hide show
  1. app.py +0 -3
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