mirror of
https://github.com/open-webui/open-webui.git
synced 2026-04-26 01:25:34 +02: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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user