Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,8 @@ default_labels = agreement_labels
|
|
| 57 |
MAX_RUPTURE_MARKERS = 8 # 1 initial + up to 7 extra
|
| 58 |
RUPTURE_LINE_INPUT_TYPE = "number" # or "text" if your line numbers aren't pure ints
|
| 59 |
|
| 60 |
-
rupture_choices = ["
|
|
|
|
| 61 |
"Minimal response",
|
| 62 |
"Abstract communication",
|
| 63 |
"Avoidant storytelling and/or topic-shifting",
|
|
@@ -132,7 +133,7 @@ fields: List[Field] = [
|
|
| 132 |
Field(type="expander", title="**Overview of rupture markers** *(expand)*", children=[
|
| 133 |
Field(type="markdown", title="", other_params={"path": "rupture_marker_overview.md"}),
|
| 134 |
]),
|
| 135 |
-
Field(name="
|
| 136 |
title="Select rupture markers noted in the session, include line numbers where rupture is found.", mandatory=False),
|
| 137 |
# Field(name="rupture_marker", type="multiselect",
|
| 138 |
# title="What type of rupture markers are found? *(Select only one)*",
|
|
@@ -169,8 +170,7 @@ INPUT_FIELD_DEFAULT_VALUES = {'slider': 0,
|
|
| 169 |
'select_slider': 0,
|
| 170 |
'multiselect': [],
|
| 171 |
'likert_radio': None,
|
| 172 |
-
'y_n_radio': None
|
| 173 |
-
'rupture_markers': []}
|
| 174 |
SHOW_HELP_ICON = False
|
| 175 |
SHOW_VALIDATION_ERROR_MESSAGE = True
|
| 176 |
|
|
|
|
| 57 |
MAX_RUPTURE_MARKERS = 8 # 1 initial + up to 7 extra
|
| 58 |
RUPTURE_LINE_INPUT_TYPE = "number" # or "text" if your line numbers aren't pure ints
|
| 59 |
|
| 60 |
+
rupture_choices = ["",
|
| 61 |
+
"Denial",
|
| 62 |
"Minimal response",
|
| 63 |
"Abstract communication",
|
| 64 |
"Avoidant storytelling and/or topic-shifting",
|
|
|
|
| 133 |
Field(type="expander", title="**Overview of rupture markers** *(expand)*", children=[
|
| 134 |
Field(type="markdown", title="", other_params={"path": "rupture_marker_overview.md"}),
|
| 135 |
]),
|
| 136 |
+
Field(name="rupture_marker", type="rupture_markers",
|
| 137 |
title="Select rupture markers noted in the session, include line numbers where rupture is found.", mandatory=False),
|
| 138 |
# Field(name="rupture_marker", type="multiselect",
|
| 139 |
# title="What type of rupture markers are found? *(Select only one)*",
|
|
|
|
| 170 |
'select_slider': 0,
|
| 171 |
'multiselect': [],
|
| 172 |
'likert_radio': None,
|
| 173 |
+
'y_n_radio': None}
|
|
|
|
| 174 |
SHOW_HELP_ICON = False
|
| 175 |
SHOW_VALIDATION_ERROR_MESSAGE = True
|
| 176 |
|