keefereuther commited on
Commit
780ae98
·
verified ·
1 Parent(s): c5fc497

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -173,6 +173,8 @@ def main() -> None:
173
  help="Select your preferred language for the chatbot's responses."
174
  )
175
 
 
 
176
  st.markdown("---")
177
 
178
  # --- System Instructions ---
@@ -182,7 +184,7 @@ def main() -> None:
182
  "System Instructions",
183
  value=default_body,
184
  key="system_prompt_body",
185
- help="These instructions determine the chatbot's behavior. Click 'Update System Instructions' to apply changes.",
186
  height=250
187
  )
188
  complete_system_prompt = build_complete_system_prompt(selected_language, system_prompt_body)
@@ -195,7 +197,7 @@ def main() -> None:
195
  }
196
 
197
  # --- Update System Instructions Button ---
198
- if st.button("Update System Instructions"):
199
  reset_chat_history(initial_context)
200
 
201
  # Ensure the API key is provided.
 
173
  help="Select your preferred language for the chatbot's responses."
174
  )
175
 
176
+ st.markdown("Click the 'Update Configuration' button each time you change an option.")
177
+
178
  st.markdown("---")
179
 
180
  # --- System Instructions ---
 
184
  "System Instructions",
185
  value=default_body,
186
  key="system_prompt_body",
187
+ help="These instructions determine the chatbot's behavior. Click 'Update Configuration' to apply changes.",
188
  height=250
189
  )
190
  complete_system_prompt = build_complete_system_prompt(selected_language, system_prompt_body)
 
197
  }
198
 
199
  # --- Update System Instructions Button ---
200
+ if st.button("Update Configuration"):
201
  reset_chat_history(initial_context)
202
 
203
  # Ensure the API key is provided.