Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def main():
|
|
| 41 |
docsearch = FAISS.from_texts(text_chunks, embeddings)
|
| 42 |
llm = OpenAI()
|
| 43 |
|
| 44 |
-
chain = load_qa_chain(llm, chain_type="
|
| 45 |
|
| 46 |
query = st.text_input("Type your question:")
|
| 47 |
|
|
|
|
| 41 |
docsearch = FAISS.from_texts(text_chunks, embeddings)
|
| 42 |
llm = OpenAI()
|
| 43 |
|
| 44 |
+
chain = load_qa_chain(llm, chain_type="stuff")
|
| 45 |
|
| 46 |
query = st.text_input("Type your question:")
|
| 47 |
|