From b2af5bd2f3bc10aa0bb093e4b4b2ff35720e4466 Mon Sep 17 00:00:00 2001 From: Justin Hsu <141555665+JustinHsu1019@users.noreply.github.com> Date: Tue, 22 Oct 2024 14:06:14 +0800 Subject: [PATCH] fix typo --- src/tools/db_insert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/db_insert.py b/src/tools/db_insert.py index db30967..3b47bfc 100644 --- a/src/tools/db_insert.py +++ b/src/tools/db_insert.py @@ -58,7 +58,7 @@ def insert_data(self, title_text, content_text): if __name__ == '__main__': manager = WeaviateManager(config.get('Weaviate', 'classnm')) - with open('Data/xxx.txt', encoding='utf-8') as file: + with open('data/xxx.txt', encoding='utf-8') as file: content = file.read() new_cp = content.split('aicup')