소스 검색

修改编码

chaixuhong 2 주 전
부모
커밋
1cff1525c0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      llmops/agents/data_stardard.py

+ 1 - 1
llmops/agents/data_stardard.py

@@ -227,7 +227,7 @@ JSON Array:
         csv_result = await self.parse_to_csv(file_path)
 
         if csv_result:
-            with open(full_path, "w", encoding="utf-8-sig") as f:
+            with open(full_path, "w", encoding="utf-8") as f:
                 f.write(csv_result)
             return full_path
         else: