Spaces:
Runtime error
Runtime error
captain-awesome
commited on
Commit
•
880820c
1
Parent(s):
a93f094
Update app.py
Browse files
app.py
CHANGED
@@ -45,6 +45,7 @@ import os
|
|
45 |
from langchain.llms import CTransformers
|
46 |
import streamlit as st
|
47 |
from langchain.document_loaders.base import BaseLoader
|
|
|
48 |
|
49 |
FILE_LOADER_MAPPING = {
|
50 |
".csv": (CSVLoader, {"encoding": "utf-8"}),
|
|
|
45 |
from langchain.llms import CTransformers
|
46 |
import streamlit as st
|
47 |
from langchain.document_loaders.base import BaseLoader
|
48 |
+
from langchain.schema import Document
|
49 |
|
50 |
FILE_LOADER_MAPPING = {
|
51 |
".csv": (CSVLoader, {"encoding": "utf-8"}),
|