tdecae commited on
Commit
98f45a0
1 Parent(s): 05c05d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -88,16 +88,14 @@ from langchain.embeddings import HuggingFaceEmbeddings
88
  from langchain.indexes import VectorstoreIndexCreator
89
  from langchain.indexes.vectorstore import VectorStoreIndexWrapper
90
  from langchain.text_splitter import CharacterTextSplitter
91
-
92
- __import__('pysqlite3')
93
- import sys
94
- sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')
95
-
96
  from langchain.vectorstores import Chroma
97
  import gradio as gr
98
  from transformers import pipeline
99
  from sentence_transformers import SentenceTransformer
100
 
 
 
 
101
  docs = []
102
 
103
  for f in os.listdir("multiple_docs"):
@@ -172,3 +170,4 @@ demo.launch(debug=True)
172
 
173
 
174
 
 
 
88
  from langchain.indexes import VectorstoreIndexCreator
89
  from langchain.indexes.vectorstore import VectorStoreIndexWrapper
90
  from langchain.text_splitter import CharacterTextSplitter
 
 
 
 
 
91
  from langchain.vectorstores import Chroma
92
  import gradio as gr
93
  from transformers import pipeline
94
  from sentence_transformers import SentenceTransformer
95
 
96
+ __import__('pysqlite3')
97
+ sys.modules['sqlite3'] = sys.modules.pop('pysqlite3')
98
+
99
  docs = []
100
 
101
  for f in os.listdir("multiple_docs"):
 
170
 
171
 
172
 
173
+