Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
samadpls authored Aug 19, 2024
1 parent d2629e4 commit 7cd3b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def main():
if st.session_state.messages[-1]["role"] != "assistant":
with st.chat_message("assistant"):
with st.spinner("Generating..."):
response = llm_chain.invoke("input": prompt,)
response = llm_chain.invoke({"input": prompt})
st.markdown(response)
message = {
"role": "assistant",
Expand Down

0 comments on commit 7cd3b2e

Please sign in to comment.