JabrilJacobs commited on
Commit
1083fc0
·
verified ·
1 Parent(s): 565eb66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ class NewAgent:
59
  # Initialize the Download File tool
60
  download_file_tool = Tool(
61
  name="download_file",
62
- func=lambda task_id_filename: download_file(*task_id_filename.split(",", 1)),
63
  description="Downloads a file associated with a task_id. Input should be 'task_id,filename'"
64
  )
65
  # Generate the chat interface, including the tools
 
59
  # Initialize the Download File tool
60
  download_file_tool = Tool(
61
  name="download_file",
62
+ func=download_file,
63
  description="Downloads a file associated with a task_id. Input should be 'task_id,filename'"
64
  )
65
  # Generate the chat interface, including the tools