feat: change icons, colors and fix minor bug

This commit is contained in:
Ibis Prevedello 2023-04-10 11:53:34 -03:00
commit a6644176d4
2 changed files with 12 additions and 9 deletions

View file

@ -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 = {