Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ from langchain_g4f import G4FLLM
|
|
| 18 |
|
| 19 |
nest_asyncio.apply()
|
| 20 |
|
| 21 |
-
documents = SimpleDirectoryReader('data').load_data()
|
| 22 |
model_kwargs = {'device': 'cpu'}
|
| 23 |
encode_kwargs = {'normalize_embeddings': True}
|
| 24 |
embed_model = HuggingFaceInstructEmbeddings(
|
|
|
|
| 18 |
|
| 19 |
nest_asyncio.apply()
|
| 20 |
|
| 21 |
+
#documents = SimpleDirectoryReader('data').load_data()
|
| 22 |
model_kwargs = {'device': 'cpu'}
|
| 23 |
encode_kwargs = {'normalize_embeddings': True}
|
| 24 |
embed_model = HuggingFaceInstructEmbeddings(
|