DrishtiSharma commited on
Commit
10d85c2
·
verified ·
1 Parent(s): 482723c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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