We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 499cbe4 commit bca4e22Copy full SHA for bca4e22
paddlenlp/taskflow/utils.py
@@ -262,7 +262,7 @@ def root(self):
262
return self._root
263
264
def __load_type(self, file_path: str):
265
- with open(file_path, "rt", newline="") as csvfile:
+ with open(file_path, "rt", newline="", encoding="utf8") as csvfile:
266
file_handler = csv.DictReader(csvfile, delimiter="\t")
267
for row in file_handler:
268
if row["type-1"] not in self:
0 commit comments