Update app.py
Browse files
app.py
CHANGED
|
@@ -111,39 +111,6 @@ def query_model(question):
|
|
| 111 |
return response
|
| 112 |
|
| 113 |
|
| 114 |
-
|
| 115 |
-
# Define the welcome message and specific topics the chatbot can provide information about
|
| 116 |
-
welcome_message = """
|
| 117 |
-
<span style="color:#718355; font-size:24px; font-weight:bold;"> 🪷 Welcome to CalmBot! 🪷</span>
|
| 118 |
-
"""
|
| 119 |
-
|
| 120 |
-
"""
|
| 121 |
-
## Your AI-driven assistant for destressing activities to unlock your inner calm.
|
| 122 |
-
"""
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
topics= """
|
| 127 |
-
### Feel Free to ask CalmBot (Our Chat Bot) anything from the topics below!
|
| 128 |
-
- Arts and Crafts (When asking for arts and crafts ideas, state whether you have 15 min, 30 min, 45 min, 1 hour, 1 hour and a half, 2 hours, 2 hours and a half, 3 hours or greater)
|
| 129 |
-
- Destressing strategies (Breathing Exercises, stretches, etc.)
|
| 130 |
-
- Mental Health
|
| 131 |
-
- Identity (Sexual, Gender, etc.)
|
| 132 |
-
- Bullying
|
| 133 |
-
- Racism
|
| 134 |
-
- Relationships (Family, Friends, etc.)
|
| 135 |
-
- Abuse (Emotional, Physical, Sexual, Mental, etc.)
|
| 136 |
-
- Support Resources
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
"""
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
theme = gr.themes.Default(
|
| 148 |
primary_hue="neutral",
|
| 149 |
secondary_hue="neutral",
|
|
|
|
| 111 |
return response
|
| 112 |
|
| 113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
theme = gr.themes.Default(
|
| 115 |
primary_hue="neutral",
|
| 116 |
secondary_hue="neutral",
|