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