mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Don't missguide Tika with mime-type
Fix #18683 * Tika is smart enough to detect content type. * Windows browsers just misguides Tika providing `application/ms-word` for .rtf files.
This commit is contained in:
parent
7a83e7dfa3
commit
24aeec9120
1 changed files with 0 additions and 1 deletions
|
|
@ -272,7 +272,6 @@ class Loader:
|
|||
loader = TikaLoader(
|
||||
url=self.kwargs.get("TIKA_SERVER_URL"),
|
||||
file_path=file_path,
|
||||
mime_type=file_content_type,
|
||||
extract_images=self.kwargs.get("PDF_EXTRACT_IMAGES"),
|
||||
)
|
||||
elif (
|
||||
|
|
|
|||
Loading…
Reference in a new issue