Spaces:
Sleeping
Sleeping
Commit Β·
08b628b
1
Parent(s): b38ec3e
stylistic choices
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -78,7 +78,7 @@ def classify(thought: str, persona: str, tokenizer, model) -> dict:
|
|
| 78 |
# ββ UI ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 79 |
st.set_page_config(page_title="CBT Thought Classifier", page_icon="π§ ", layout="centered")
|
| 80 |
|
| 81 |
-
st.title("
|
| 82 |
st.caption(
|
| 83 |
"Enter a thought below. The model will identify which unhelpful cognitive pattern "
|
| 84 |
"it exhibits, if any, based on Cognitive Behavioral Therapy (CBT) research."
|
|
@@ -88,7 +88,7 @@ st.divider()
|
|
| 88 |
|
| 89 |
persona = st.text_input(
|
| 90 |
"Persona (optional)",
|
| 91 |
-
placeholder="e.g. I am a college student. I love playing guitar.",
|
| 92 |
help="Adding context about the person improves classification accuracy."
|
| 93 |
)
|
| 94 |
|
|
|
|
| 78 |
# ββ UI ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 79 |
st.set_page_config(page_title="CBT Thought Classifier", page_icon="π§ ", layout="centered")
|
| 80 |
|
| 81 |
+
st.title("CBT Thought Pattern Classifier")
|
| 82 |
st.caption(
|
| 83 |
"Enter a thought below. The model will identify which unhelpful cognitive pattern "
|
| 84 |
"it exhibits, if any, based on Cognitive Behavioral Therapy (CBT) research."
|
|
|
|
| 88 |
|
| 89 |
persona = st.text_input(
|
| 90 |
"Persona (optional)",
|
| 91 |
+
placeholder="e.g. I am a college student. I love playing the guitar.",
|
| 92 |
help="Adding context about the person improves classification accuracy."
|
| 93 |
)
|
| 94 |
|