Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -82,7 +82,7 @@ if mentor_type:
|
|
| 82 |
)
|
| 83 |
|
| 84 |
|
| 85 |
-
if st.button("
|
| 86 |
prompt = ChatPromptTemplate.from_messages([
|
| 87 |
SystemMessagePromptTemplate.from_template(
|
| 88 |
f"You are a helpful and experienced {mentor_type.upper()} mentor assisting a learner with {experience} years of experience."
|
|
|
|
| 82 |
)
|
| 83 |
|
| 84 |
|
| 85 |
+
if st.button("Ask") and user_input:
|
| 86 |
prompt = ChatPromptTemplate.from_messages([
|
| 87 |
SystemMessagePromptTemplate.from_template(
|
| 88 |
f"You are a helpful and experienced {mentor_type.upper()} mentor assisting a learner with {experience} years of experience."
|