SP151 commited on
Commit
92a6518
1 Parent(s): 3b8b42e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ chain = RunnablePassthrough.assign(
114
  st.set_page_config(page_title="Research Assistant/Report Generation")
115
  st.header("Research -> Report")
116
  input = st.text_input("Input Question:", key = "input")
117
- response = chain.invoke(input)
118
  submit = st.button("Ask Question")
119
 
120
  if submit:
 
114
  st.set_page_config(page_title="Research Assistant/Report Generation")
115
  st.header("Research -> Report")
116
  input = st.text_input("Input Question:", key = "input")
117
+ response = chain.invoke({"question": input})
118
  submit = st.button("Ask Question")
119
 
120
  if submit: