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')