Skier8402 commited on
Commit
f18242a
·
verified ·
1 Parent(s): 5b65319

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +2 -2
app2.py CHANGED
@@ -495,7 +495,7 @@ def main():
495
  chat_interface = gr.ChatInterface(
496
  fn=chat_handler,
497
  title="Tima - Your Mental Health Companion",
498
- description="A safe space to talk. Tima is here to listen, offer support, and provide understanding. This is not a replacement for professional medical advice.",
499
  examples=[
500
  "I feel like giving up on everything",
501
  "I'm feeling really anxious lately and can't stop worrying",
@@ -515,7 +515,7 @@ def main():
515
  max_threads=16, # Increased maximum number of threads to handle more concurrent jobs
516
  show_error=True, # Show error messages
517
  inbrowser=True, # Open in browser
518
- show_api=True, # Show API
519
  enable_monitoring=True,
520
  state_session_capacity=50,
521
  )
 
495
  chat_interface = gr.ChatInterface(
496
  fn=chat_handler,
497
  title="Tima - Your Mental Health Companion",
498
+ description="A safe space to talk. Tima is here to listen, offer support, and provide understanding. ⚠️ This is not a replacement for professional medical advice.",
499
  examples=[
500
  "I feel like giving up on everything",
501
  "I'm feeling really anxious lately and can't stop worrying",
 
515
  max_threads=16, # Increased maximum number of threads to handle more concurrent jobs
516
  show_error=True, # Show error messages
517
  inbrowser=True, # Open in browser
518
+ show_api=False, # Show API
519
  enable_monitoring=True,
520
  state_session_capacity=50,
521
  )