Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,9 +136,8 @@ st.markdown("Ask anything related to SQL interviews!")
|
|
| 136 |
|
| 137 |
# Initialize chat history
|
| 138 |
if "messages" not in st.session_state:
|
| 139 |
-
st.session_state.messages = [
|
| 140 |
-
|
| 141 |
-
]
|
| 142 |
|
| 143 |
# User input
|
| 144 |
user_input = st.text_input("💡 Ask your SQL interview question:", placeholder="e.g., give me 10 SQL interview questions with answers")
|
|
|
|
| 136 |
|
| 137 |
# Initialize chat history
|
| 138 |
if "messages" not in st.session_state:
|
| 139 |
+
st.session_state.messages = [SystemMessage(content="Answer clearly like a technical SQL interviewer.")
|
| 140 |
+
]
|
|
|
|
| 141 |
|
| 142 |
# User input
|
| 143 |
user_input = st.text_input("💡 Ask your SQL interview question:", placeholder="e.g., give me 10 SQL interview questions with answers")
|