Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,9 @@ from langchain.embeddings import HuggingFaceEmbeddings
|
|
7 |
from langchain.vectorstores import Chroma
|
8 |
from langchain import HuggingFaceHub
|
9 |
from langchain.chains import RetrievalQA
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
|
14 |
|
15 |
# load huggingface api key
|
|
|
7 |
from langchain.vectorstores import Chroma
|
8 |
from langchain import HuggingFaceHub
|
9 |
from langchain.chains import RetrievalQA
|
10 |
+
__import__('pysqlite3')
|
11 |
+
import sys
|
12 |
+
sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')
|
13 |
|
14 |
|
15 |
# load huggingface api key
|