ogegadavis254 commited on
Commit
72954c0
1 Parent(s): 0ac0f36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -105,8 +105,7 @@ if prompt := st.chat_input(f"Hi, I'm {selected_model}, ask me a question"):
105
  # Intervention logic here
106
  if not st.session_state.ask_intervention:
107
  st.session_state.ask_intervention = True
108
- if st.button("<span style='color:red;'>It seems like you might need to talk to someone. Click here for immediate assistance.</span>", unsafe_allow_html=True):
109
- st.write("You can reach out to a certified therapist at +25493609747.")
110
 
111
  # Interact with the selected model
112
  assistant_response = interact_with_together_api(st.session_state.messages, model_links[selected_model])
 
105
  # Intervention logic here
106
  if not st.session_state.ask_intervention:
107
  st.session_state.ask_intervention = True
108
+ st.markdown("<span style='color:red;'>It seems like you might need to talk to someone. Click [here](https://www.google.com) for immediate assistance.</span>", unsafe_allow_html=True)
 
109
 
110
  # Interact with the selected model
111
  assistant_response = interact_with_together_api(st.session_state.messages, model_links[selected_model])