mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 23:22:57 +01:00
feat(UI): Select file to Query or Delete + Delete ALL (#1612)
--------- Co-authored-by: Robin Boone <rboone@sofics.com>
This commit is contained in:
parent
24fb80ca38
commit
aa13afde07
6 changed files with 161 additions and 18 deletions
|
|
@ -18,10 +18,11 @@ class LocalIngestWorker:
|
|||
self.total_documents = 0
|
||||
self.current_document_count = 0
|
||||
|
||||
self._files_under_root_folder: list[Path] = list()
|
||||
self._files_under_root_folder: list[Path] = []
|
||||
|
||||
def _find_all_files_in_folder(self, root_path: Path, ignored: list[str]) -> None:
|
||||
"""Search all files under the root folder recursively.
|
||||
|
||||
Count them at the same time
|
||||
"""
|
||||
for file_path in root_path.iterdir():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue