emvecchi commited on
Commit
d7fe5bf
·
verified ·
1 Parent(s): 0d6498e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -57,8 +57,7 @@ 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
- "Denial",
62
  "Minimal response",
63
  "Abstract communication",
64
  "Avoidant storytelling and/or topic-shifting",
@@ -118,7 +117,7 @@ Please indicate, in the box below, that you are at least 18 years old, have read
118
 
119
  fields: List[Field] = [
120
  Field(name="patient", type="input_col", title=" "),
121
- Field(type="expander", title="### Session Transcription: *(expand)*", children=[
122
  Field(name="dialogue_name", type="input_col", title=""),
123
  ]),
124
 
@@ -148,13 +147,13 @@ fields: List[Field] = [
148
  following_mandatory_values=[1]),
149
  ]),
150
 
151
- Field(type="container", title="### Rate the therapist", children=[
152
  Field(name="empathy", type="y_n_radio",
153
  title="Was the therapist empathetic?", mandatory=True,
154
  following_mandatory_values=[1]),
155
  ]),
156
 
157
- Field(type="container", title="### Additional Comments *(optional)*", children=[
158
  Field(name="other_comments", type="text", title="Please provide any additional details or information:", mandatory=False),
159
  ]),
160
  ]
@@ -170,7 +169,8 @@ INPUT_FIELD_DEFAULT_VALUES = {'slider': 0,
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
 
 
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 = ["Denial",
 
61
  "Minimal response",
62
  "Abstract communication",
63
  "Avoidant storytelling and/or topic-shifting",
 
117
 
118
  fields: List[Field] = [
119
  Field(name="patient", type="input_col", title=" "),
120
+ Field(type="expander", title="**Session Transcription:** *(expand)*", children=[
121
  Field(name="dialogue_name", type="input_col", title=""),
122
  ]),
123
 
 
147
  following_mandatory_values=[1]),
148
  ]),
149
 
150
+ Field(type="container", title="#### Rate the therapist", children=[
151
  Field(name="empathy", type="y_n_radio",
152
  title="Was the therapist empathetic?", mandatory=True,
153
  following_mandatory_values=[1]),
154
  ]),
155
 
156
+ Field(type="container", title="#### Additional Comments *(optional)*", children=[
157
  Field(name="other_comments", type="text", title="Please provide any additional details or information:", mandatory=False),
158
  ]),
159
  ]
 
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