Spaces:
Sleeping
Sleeping
finishing touches + adding MindMate branding
Browse files
app.py
CHANGED
|
@@ -125,7 +125,7 @@ User question:
|
|
| 125 |
max_tokens=400 # allow longer responses
|
| 126 |
)
|
| 127 |
|
| 128 |
-
return f"
|
| 129 |
|
| 130 |
custom_css = """
|
| 131 |
body {
|
|
@@ -150,12 +150,14 @@ button {
|
|
| 150 |
with gr.Blocks(css=custom_css) as app:
|
| 151 |
gr.ChatInterface(
|
| 152 |
respond,
|
| 153 |
-
title="
|
| 154 |
description="""
|
| 155 |
-
|
| 156 |
|
| 157 |
-
|
| 158 |
-
|
|
|
|
|
|
|
| 159 |
examples=[
|
| 160 |
"I've been feeling stressed about school lately.",
|
| 161 |
"What are some coping strategies for anxiety?",
|
|
|
|
| 125 |
max_tokens=400 # allow longer responses
|
| 126 |
)
|
| 127 |
|
| 128 |
+
return f"🧠 MindMate Mood Check: {mood}\n\n" + response.choices[0].message.content.strip()
|
| 129 |
|
| 130 |
custom_css = """
|
| 131 |
body {
|
|
|
|
| 150 |
with gr.Blocks(css=custom_css) as app:
|
| 151 |
gr.ChatInterface(
|
| 152 |
respond,
|
| 153 |
+
title="🧠 MindMate: Teen Mental Wellness Assistant",
|
| 154 |
description="""
|
| 155 |
+
Welcome to MindMate! 🌱
|
| 156 |
|
| 157 |
+
Feeling stressed, anxious, or overwhelmed? Ask me questions about mental wellness, coping strategies, and emotional well-being.
|
| 158 |
+
|
| 159 |
+
MindMate is for support and education and is not a replacement for professional mental health care.
|
| 160 |
+
""",
|
| 161 |
examples=[
|
| 162 |
"I've been feeling stressed about school lately.",
|
| 163 |
"What are some coping strategies for anxiety?",
|