BenjaminKaindu0506 commited on
Commit
db8845f
·
verified ·
1 Parent(s): 1d9ad59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -55,12 +55,12 @@ class BasicAgent:
55
  df = pd.read_excel(file_path)
56
  return df.to_string()
57
 
58
- image_analysis_tool = Tool.from_space(
59
- "nvidia/LocateAnything",
60
- name="image_analyser",
61
- description="Analyses images to locate and describe objects in them.",
62
  #trust_remote_code=True,
63
- )
64
  """errors I get:
65
  - Error initializing agent: 'type'
66
  An extra system prompt:
@@ -79,7 +79,7 @@ class BasicAgent:
79
  DuckDuckGoSearchTool(),
80
  fetch_task_file,
81
  read_spreadsheet,
82
- image_analysis_tool,
83
  ],
84
  model=InferenceClientModel("Qwen/Qwen2.5-Coder-32B"),
85
  max_steps=100,
 
55
  df = pd.read_excel(file_path)
56
  return df.to_string()
57
 
58
+ #image_analysis_tool = Tool.from_space(
59
+ #"nvidia/LocateAnything",
60
+ #name="image_analyser",
61
+ #description="Analyses images to locate and describe objects in them.",
62
  #trust_remote_code=True,
63
+ #)
64
  """errors I get:
65
  - Error initializing agent: 'type'
66
  An extra system prompt:
 
79
  DuckDuckGoSearchTool(),
80
  fetch_task_file,
81
  read_spreadsheet,
82
+ #image_analysis_tool,
83
  ],
84
  model=InferenceClientModel("Qwen/Qwen2.5-Coder-32B"),
85
  max_steps=100,