Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ with tab1:
|
|
162 |
st.markdown(message["content"], unsafe_allow_html=True)
|
163 |
|
164 |
# Handle user input
|
165 |
-
if topic := st.chat_input(placeholder="📝 Ask a question or provide an essay topic...", disabled=st.session_state["chat_active"]):
|
166 |
st.chat_message("user").markdown(topic)
|
167 |
st.session_state["messages"].append({"role": "user", "content": topic})
|
168 |
|
|
|
162 |
st.markdown(message["content"], unsafe_allow_html=True)
|
163 |
|
164 |
# Handle user input
|
165 |
+
if topic := st.chat_input(placeholder="📝 Ask a question or provide an essay topic...", disabled=st.session_state["chat_active"], value = "Write an essay on the cultural diversity of India."):
|
166 |
st.chat_message("user").markdown(topic)
|
167 |
st.session_state["messages"].append({"role": "user", "content": topic})
|
168 |
|