Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def get_answer(question):
|
|
130 |
chain = load_chain()
|
131 |
result = chain({"question": question, "chat_history": chat_history})
|
132 |
|
133 |
-
answer = result["
|
134 |
|
135 |
# pages
|
136 |
unique_sources = set()
|
@@ -158,7 +158,7 @@ def get_answer(question):
|
|
158 |
|
159 |
|
160 |
##### main ####
|
161 |
-
user_input = st.text_input("Your question", "What is an MBS and who are the main
|
162 |
|
163 |
col1, col2 = st.columns([10, 1])
|
164 |
|
|
|
130 |
chain = load_chain()
|
131 |
result = chain({"question": question, "chat_history": chat_history})
|
132 |
|
133 |
+
answer = result["answer"]
|
134 |
|
135 |
# pages
|
136 |
unique_sources = set()
|
|
|
158 |
|
159 |
|
160 |
##### main ####
|
161 |
+
user_input = st.text_input("Your question", "What is an MBS and who are the main issuers and investors of the MBS market?", key="input")
|
162 |
|
163 |
col1, col2 = st.columns([10, 1])
|
164 |
|