Update app.py
Browse files
app.py
CHANGED
@@ -115,8 +115,9 @@ st.set_page_config(page_title="Research Assistant/Report Generation")
|
|
115 |
st.header("Research Question -> Full Report On Topic")
|
116 |
input = st.text_input("Input Question:", key = "input")
|
117 |
submit = st.button("Ask Question")
|
118 |
-
|
119 |
|
120 |
if submit:
|
121 |
st.subheader("Response:")
|
|
|
122 |
st.write(response.strip())
|
|
|
115 |
st.header("Research Question -> Full Report On Topic")
|
116 |
input = st.text_input("Input Question:", key = "input")
|
117 |
submit = st.button("Ask Question")
|
118 |
+
st.write("Question Submitted! Report currently being generated...")
|
119 |
|
120 |
if submit:
|
121 |
st.subheader("Response:")
|
122 |
+
response = chain.invoke({"question": input})
|
123 |
st.write(response.strip())
|