Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ Settings.llm = HuggingFaceLLM(model_name="facebook/blenderbot-400M-distill",
|
|
27 |
Settings.embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-small-en-v1.5")
|
28 |
documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won."),
|
29 |
Document(text="Indian parliament elections happened in April-May 2021. XYZ Party won.",
|
30 |
-
Document(text="Indian parliament elections happened in 2020. ABC Party won.",
|
31 |
]
|
32 |
index = VectorStoreIndex.from_documents(
|
33 |
documents,
|
|
|
27 |
Settings.embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-small-en-v1.5")
|
28 |
documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won."),
|
29 |
Document(text="Indian parliament elections happened in April-May 2021. XYZ Party won.",
|
30 |
+
Document(text="Indian parliament elections happened in 2020. ABC Party won."),
|
31 |
]
|
32 |
index = VectorStoreIndex.from_documents(
|
33 |
documents,
|