nirmalaag commited on
Commit
38ce70b
·
verified ·
1 Parent(s): d35af6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def main():
68
  llm = huggingface_hub.HuggingFaceHub(repo_id="google/flan-t5-small",
69
  model_kwargs={"temperature":1.0, "max_length":256})
70
  docs = vector_store.similarity_search(query=query, k=1)
71
-
72
  chain = load_qa_chain(llm=llm, chain_type="stuff")
73
  response = chain.run(input_documents=docs, question=query)
74
  #retriever=vector_store.as_retriever()
 
68
  llm = huggingface_hub.HuggingFaceHub(repo_id="google/flan-t5-small",
69
  model_kwargs={"temperature":1.0, "max_length":256})
70
  docs = vector_store.similarity_search(query=query, k=1)
71
+ st.write(docs)
72
  chain = load_qa_chain(llm=llm, chain_type="stuff")
73
  response = chain.run(input_documents=docs, question=query)
74
  #retriever=vector_store.as_retriever()