Leonardo commited on
Commit
c32ec64
·
verified ·
1 Parent(s): 876a77e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -198,12 +198,14 @@ WEB_TOOLS = [
198
  TextInspectorTool(model, text_limit),
199
  ]
200
 
 
 
201
  # Agent creation in a factory function
202
  def create_agent():
203
  """Creates a fresh agent instance for each session"""
204
  return CodeAgent(
205
  model=model,
206
- tools=[visualizer] + WEB_TOOLS,
207
  max_steps=10,
208
  verbosity_level=1,
209
  additional_authorized_imports=AUTHORIZED_IMPORTS,
 
198
  TextInspectorTool(model, text_limit),
199
  ]
200
 
201
+ flux_tool = FluxLoRATool()
202
+
203
  # Agent creation in a factory function
204
  def create_agent():
205
  """Creates a fresh agent instance for each session"""
206
  return CodeAgent(
207
  model=model,
208
+ tools=[visualizer] + WEB_TOOLS + flux_tool
209
  max_steps=10,
210
  verbosity_level=1,
211
  additional_authorized_imports=AUTHORIZED_IMPORTS,