Spaces:
Sleeping
Sleeping
Update app.py
Browse files56 unmodified lines575859606162636453 unmodified lines11811912012112212312423 unmodified lines1481491501511521531541551561571581591609 unmodified lines17017117217317417517656 unmodified linesMAX_RUPTURE_MARKERS = 8 # 1 initial + up to 7 extraRUPTURE_LINE_INPUT_TYPE = "number" # or "text" if your line numbers aren't pure intsrupture_choices = ["","Denial","Minimal response","Abstract communication","Avoidant storytelling and/or topic-shifting",53 unmodified linesfields: List[Field] = [Field(name="patient", type="input_col", title=" "),Field(type="expander", title="### Session Transcription: *(expand)*", children=[Field(name="dialogue_name", type="input_col", title=""),]),23 unmodified linesfollowing_mandatory_values=[1]),]),Field(type="container", title="### Rate the therapist", children=[Field(name="empathy", type="y_n_radio",title="Was the therapist empathetic?", mandatory=True,following_mandatory_values=[1]),]),Field(type="container", title="### Additional Comments *(optional)*", children=[Field(name="other_comments", type="text", title="Please provide any additional details or information:", mandatory=False),]),]9 unmodified lines'select_slider': 0,'multiselect': [],'likert_radio': None,'y_n_radio': None}SHOW_HELP_ICON = FalseSHOW_VALIDATION_ERROR_MESSAGE = True56 unmodified lines5758596061626353 unmodified lines11711811912012112212323 unmodified lines1471481491501511521531541551561571581599 unmodified lines16917017117217317417517656 unmodified linesMAX_RUPTURE_MARKERS = 8 # 1 initial + up to 7 extraRUPTURE_LINE_INPUT_TYPE = "number" # or "text" if your line numbers aren't pure intsrupture_choices = ["Denial","Minimal response","Abstract communication","Avoidant storytelling and/or topic-shifting",53 unmodified linesfields: List[Field] = [Field(name="patient", type="input_col", title=" "),Field(type="expander", title="**Session Transcription:** *(expand)*", children=[Field(name="dialogue_name", type="input_col", title=""),]),23 unmodified linesfollowing_mandatory_values=[1]),]),Field(type="container", title="#### Rate the therapist", children=[Field(name="empathy", type="y_n_radio",title="Was the therapist empathetic?", mandatory=True,following_mandatory_values=[1]),]),Field(type="container", title="#### Additional Comments *(optional)*", children=[Field(name="other_comments", type="text", title="Please provide any additional details or information:", mandatory=False),]),]9 unmodified lines'select_slider': 0,'multiselect': [],'likert_radio': None,'y_n_radio': None,'rupture_markers': []}SHOW_HELP_ICON = FalseSHOW_VALIDATION_ERROR_MESSAGE = True
app.py+6-6