mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-18 02:35:53 +08:00
refac
This commit is contained in:
parent
0a8199a056
commit
e63b8b3879
@ -90,7 +90,7 @@ class TikaLoader:
|
|||||||
self.file_path = file_path
|
self.file_path = file_path
|
||||||
self.mime_type = mime_type
|
self.mime_type = mime_type
|
||||||
|
|
||||||
self.exextract_images = extract_images
|
self.extract_images = extract_images
|
||||||
|
|
||||||
def load(self) -> list[Document]:
|
def load(self) -> list[Document]:
|
||||||
with open(self.file_path, "rb") as f:
|
with open(self.file_path, "rb") as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user