venkat charan commited on
Commit
dc04c58
·
verified ·
1 Parent(s): de74493

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ if st.button("Generate Response"):
45
 
46
  # Invoke the chain to get the response
47
  res = chain.invoke({"input": user_input})
48
- response_content = res.get("content", "No content generated.")
49
  st.write("Generated Response:")
50
  st.write(response_content)
51
 
 
45
 
46
  # Invoke the chain to get the response
47
  res = chain.invoke({"input": user_input})
48
+ response_content = res.content
49
  st.write("Generated Response:")
50
  st.write(response_content)
51