captain-awesome commited on
Commit
880820c
1 Parent(s): a93f094

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"}),