mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-30 21:28:56 +03:00
8 lines
255 B
Python
8 lines
255 B
Python
from .common import process_file
|
|
from langchain.document_loaders import Docx2txtLoader
|
|
from fastapi import UploadFile
|
|
|
|
|
|
def process_docx(file: UploadFile, enable_summarization):
|
|
return process_file(file, Docx2txtLoader, ".docx", enable_summarization)
|