Spaces:
Running
Running
luanpoppe
commited on
Commit
·
762d461
1
Parent(s):
4ef8d92
fix: .doc
Browse files
_utils/langchain_utils/splitter_util.py
CHANGED
|
@@ -18,6 +18,8 @@ class SplitterUtils:
|
|
| 18 |
return "pdf"
|
| 19 |
elif ext == ".docx":
|
| 20 |
return "word"
|
|
|
|
|
|
|
| 21 |
elif ext == ".odt":
|
| 22 |
return "odt"
|
| 23 |
elif ext == ".txt":
|
|
|
|
| 18 |
return "pdf"
|
| 19 |
elif ext == ".docx":
|
| 20 |
return "word"
|
| 21 |
+
elif ext == ".doc":
|
| 22 |
+
return "doc"
|
| 23 |
elif ext == ".odt":
|
| 24 |
return "odt"
|
| 25 |
elif ext == ".txt":
|