Spaces:
Runtime error
Runtime error
KushwanthK
commited on
Commit
•
2e6d819
1
Parent(s):
49ba541
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def prompt_engineer(text, longtext, query):
|
|
129 |
chain = create_stuff_documents_chain(llm, prompt)
|
130 |
|
131 |
# Invoke chain
|
132 |
-
summary = chain.invoke({"context": docs})
|
133 |
|
134 |
with st.sidebar:
|
135 |
st.divider()
|
|
|
129 |
chain = create_stuff_documents_chain(llm, prompt)
|
130 |
|
131 |
# Invoke chain
|
132 |
+
summary = chain.invoke({"context": [docs]})
|
133 |
|
134 |
with st.sidebar:
|
135 |
st.divider()
|