Isaac454 commited on
Commit
df6df90
·
verified ·
1 Parent(s): 2aaddf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ class LoadCsvTool(Tool):
36
  }
37
  output_type = "string"
38
 
39
- def load_csv_as_string(self, file_path: str) -> str:
40
  with open(file_path, "r", encoding="utf-8") as f:
41
  return f.read()
42
  # The original path caused a SyntaxError due to backslashes being interpreted as escape sequences.
 
36
  }
37
  output_type = "string"
38
 
39
+ def forward(self, file_path: str) -> str:
40
  with open(file_path, "r", encoding="utf-8") as f:
41
  return f.read()
42
  # The original path caused a SyntaxError due to backslashes being interpreted as escape sequences.