Update app.py
Browse files
app.py
CHANGED
@@ -228,8 +228,8 @@ if ticker_user!="":
|
|
228 |
stuff_chain = StuffDocumentsChain(llm_chain=llm_chain,document_variable_name="context")
|
229 |
|
230 |
st.write(stuff_chain.input_keys)
|
231 |
-
res = stuff_chain.invoke(docs)
|
232 |
-
|
233 |
#create the humanmassage propmt templete with the image file
|
234 |
# hmessage = HumanMessage(
|
235 |
# content=[
|
|
|
228 |
stuff_chain = StuffDocumentsChain(llm_chain=llm_chain,document_variable_name="context")
|
229 |
|
230 |
st.write(stuff_chain.input_keys)
|
231 |
+
# res = stuff_chain.invoke(docs)
|
232 |
+
res = stuff_chain.invoke({"context": docs})
|
233 |
#create the humanmassage propmt templete with the image file
|
234 |
# hmessage = HumanMessage(
|
235 |
# content=[
|