diff --git a/ragflows/main.py b/ragflows/main.py index 76a88f7..15e50a7 100644 --- a/ragflows/main.py +++ b/ragflows/main.py @@ -98,7 +98,7 @@ def get_file_lines(file_path) -> int: if doc_item.get('progress') == 1: timeutils.print_log(f"{file_path} 已上传,跳过") else: - status = api.parse_chunks_with_check(doc_item) + status = api.parse_chunks_with_check(filename) timeutils.print_log(f"{file_path} 切片状态:", status) continue