Sauten commited on
Commit
723a115
·
verified ·
1 Parent(s): 91243f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -38,18 +38,18 @@ class BasicAgent:
38
  print(f"Agent received question (first 50 chars): {question[:50]}...")
39
 
40
 
41
- uav_agent = CodeAgent(
42
- tools=[final_answer, DuckDuckGoSearchTool],#[detection_tool],
43
- model=model,
44
- max_steps=5,
45
- verbosity_level=1,
46
- planning_interval=2,
47
- #additional_authorized_imports=["json", "from PIL import Image, ImageDraw, ImageFont", "import matplotlib.pyplot as plt", "from typing import List, Dict"],
48
- #managed_agents=[detection_agent]
49
- name="agent_instance",
50
- description="Solves the task"
51
- )
52
-
53
 
54
  # url = "https://api.fireworks.ai/inference/v1/chat/completions"
55
  # payload = {
 
38
  print(f"Agent received question (first 50 chars): {question[:50]}...")
39
 
40
 
41
+ agent = CodeAgent(
42
+ tools=[final_answer, DuckDuckGoSearchTool],#[detection_tool],
43
+ model=model,
44
+ max_steps=5,
45
+ verbosity_level=1,
46
+ planning_interval=2,
47
+ #additional_authorized_imports=["json", "from PIL import Image, ImageDraw, ImageFont", "import matplotlib.pyplot as plt", "from typing import List, Dict"],
48
+ #managed_agents=[detection_agent]
49
+ description="Solves the task"
50
+ )
51
+
52
+ fixed_answer = agent
53
 
54
  # url = "https://api.fireworks.ai/inference/v1/chat/completions"
55
  # payload = {