feat: change icons, colors and fix minor bug
This commit is contained in:
parent
fee2e52ec1
commit
a6644176d4
2 changed files with 12 additions and 9 deletions
|
|
@ -14,7 +14,7 @@ class TextLoader(BaseLoader):
|
|||
|
||||
def load(self) -> List[Document]:
|
||||
"""Load from file path."""
|
||||
documents = [Document(page_content=self.file, metadata={"source": "loaded"})]
|
||||
return [Document(page_content=self.file, metadata={"source": "loaded"})]
|
||||
|
||||
|
||||
CUSTOM_DOCUMENTLOADERS = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue