bstraehle commited on
Commit
2d23d13
·
verified ·
1 Parent(s): 7447d1b

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +1 -1
crew.py CHANGED
@@ -361,7 +361,7 @@ def run_crew(question, file_path):
361
 
362
  if ext in (".csv", ".xls", ".xlsx", ".json", ".jsonl"):
363
  df = read_file(file_path)
364
- question = f"{question}\nFile {file_path}:\n{df.to_string()}"
365
  else:
366
  question = f"{question} File path: {file_path}."
367
 
 
361
 
362
  if ext in (".csv", ".xls", ".xlsx", ".json", ".jsonl"):
363
  df = read_file(file_path)
364
+ question = f"{question}\nFile {file_path} as a Pandas DataFrame to string:\n{df.to_string()}"
365
  else:
366
  question = f"{question} File path: {file_path}."
367