Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ Settings.llm = HuggingFaceLLM(model_name="facebook/blenderbot-400M-distill",
|
|
22 |
tokenizer_name="facebook/blenderbot-400M-distill"
|
23 |
)
|
24 |
Settings.embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-small-en-v1.5")
|
25 |
-
documents = [Document(text="Indian parliament elections happened in April-May 2024.
|
26 |
index = VectorStoreIndex.from_documents(
|
27 |
documents,
|
28 |
)
|
|
|
22 |
tokenizer_name="facebook/blenderbot-400M-distill"
|
23 |
)
|
24 |
Settings.embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-small-en-v1.5")
|
25 |
+
documents = [Document(text="Indian parliament elections happened in April-May 2024. BJP Party won.")]
|
26 |
index = VectorStoreIndex.from_documents(
|
27 |
documents,
|
28 |
)
|