Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def load_embedding_models(model):
|
|
| 49 |
return emb
|
| 50 |
|
| 51 |
st.title(f"Talk to CFA Level 1 Book")
|
| 52 |
-
st.markdown(
|
| 53 |
|
| 54 |
|
| 55 |
embeddings = load_embedding_models(book)
|
|
@@ -159,7 +159,7 @@ def get_answer(question):
|
|
| 159 |
|
| 160 |
|
| 161 |
##### main ####
|
| 162 |
-
user_input = st.
|
| 163 |
|
| 164 |
col1, col2 = st.columns([10, 1])
|
| 165 |
|
|
|
|
| 49 |
return emb
|
| 50 |
|
| 51 |
st.title(f"Talk to CFA Level 1 Book")
|
| 52 |
+
st.markdown("#### Have a conversation with the CFA Curriculum by the CFA Institute 🙊")
|
| 53 |
|
| 54 |
|
| 55 |
embeddings = load_embedding_models(book)
|
|
|
|
| 159 |
|
| 160 |
|
| 161 |
##### main ####
|
| 162 |
+
user_input = st.text_area("Your question", "What is an MBS and who are the main issuers and investors of the MBS market?", key="input")
|
| 163 |
|
| 164 |
col1, col2 = st.columns([10, 1])
|
| 165 |
|