SwatGarg commited on
Commit
7ec21ac
1 Parent(s): e9a3214

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -116,9 +116,6 @@ if input_mode == "Speech":
116
  st.session_state.speech_input = None
117
  else:
118
  user_message = st.chat_input("Type your message here:")
119
-
120
- # Display the initial message from the bot
121
- initial_message_displayed = False
122
 
123
  ## Applying the user input box
124
  with input_container:
@@ -173,9 +170,6 @@ with input_container:
173
 
174
  # Display the AI's response
175
  with st.chat_message("ai"):
176
- if not initial_message_displayed:
177
- st.markdown("I'm your Mental health Assistant, How may I help you?")
178
- initial_message_displayed = True
179
  st.markdown(response)
180
  st.session_state.user_sentiment = user_sentiment
181
  st.session_state.mood_trend = mood_trend
 
116
  st.session_state.speech_input = None
117
  else:
118
  user_message = st.chat_input("Type your message here:")
 
 
 
119
 
120
  ## Applying the user input box
121
  with input_container:
 
170
 
171
  # Display the AI's response
172
  with st.chat_message("ai"):
 
 
 
173
  st.markdown(response)
174
  st.session_state.user_sentiment = user_sentiment
175
  st.session_state.mood_trend = mood_trend