atharva-nlp commited on
Commit
68a7d4e
·
verified ·
1 Parent(s): 4cd37a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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. It was won by Prime Minister Modi and hist party BJP. Opposition parties made some ground but failed to reach magic numbers")]
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
  )