Spaces:
Paused
Paused
Update tabs/therapy_chat.py
Browse files- tabs/therapy_chat.py +0 -32
tabs/therapy_chat.py
CHANGED
|
@@ -26,38 +26,6 @@ def clear_chat():
|
|
| 26 |
chat_history = []
|
| 27 |
return "", ""
|
| 28 |
|
| 29 |
-
# Optional CSS
|
| 30 |
-
custom_css = """
|
| 31 |
-
body {
|
| 32 |
-
background-color: #121212;
|
| 33 |
-
color: white;
|
| 34 |
-
}
|
| 35 |
-
.centered-text {
|
| 36 |
-
text-align: center;
|
| 37 |
-
margin-left: auto;
|
| 38 |
-
margin-right: auto;
|
| 39 |
-
}
|
| 40 |
-
#submit-btn, #symptom-btn, #faq-btn, #process-btn {
|
| 41 |
-
background-color: #cc5500 !important;
|
| 42 |
-
color: white;
|
| 43 |
-
font-weight: bold;
|
| 44 |
-
border-radius: 8px;
|
| 45 |
-
padding: 10px 20px;
|
| 46 |
-
}
|
| 47 |
-
#explanation-box textarea {
|
| 48 |
-
background-color: #1c1c1c !important;
|
| 49 |
-
color: #f0f0f0 !important;
|
| 50 |
-
border-radius: 10px;
|
| 51 |
-
border: 1px solid #444 !important;
|
| 52 |
-
font-size: 15px;
|
| 53 |
-
padding: 12px;
|
| 54 |
-
box-shadow: 0 0 8px rgba(0,0,0,0.4);
|
| 55 |
-
}
|
| 56 |
-
.gr-markdown > div {
|
| 57 |
-
background: transparent !important;
|
| 58 |
-
}
|
| 59 |
-
"""
|
| 60 |
-
|
| 61 |
# UI function
|
| 62 |
def therapy_chat_tab():
|
| 63 |
gr.Markdown("## 🧠 TherapyBot++", elem_classes="centered-text")
|
|
|
|
| 26 |
chat_history = []
|
| 27 |
return "", ""
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
# UI function
|
| 30 |
def therapy_chat_tab():
|
| 31 |
gr.Markdown("## 🧠 TherapyBot++", elem_classes="centered-text")
|