Spaces:
Runtime error
Runtime error
captain-awesome
commited on
Commit
•
a93f094
1
Parent(s):
773737a
Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,7 @@ from transformers import BitsAndBytesConfig
|
|
44 |
import os
|
45 |
from langchain.llms import CTransformers
|
46 |
import streamlit as st
|
|
|
47 |
|
48 |
FILE_LOADER_MAPPING = {
|
49 |
".csv": (CSVLoader, {"encoding": "utf-8"}),
|
|
|
44 |
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"}),
|