Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -199,9 +199,9 @@ end_fields: List[Field] = [
|
|
| 199 |
|
| 200 |
fields: List[Field] = [
|
| 201 |
Field(name="patient", type="input_col", title="**Patient::**"),
|
| 202 |
-
Field(type="expander", title="**Preceeding Comment:** *(expand)*", children=[
|
| 203 |
-
Field(name="dialogue_name", type="input_col", title=""),
|
| 204 |
-
]),
|
| 205 |
|
| 206 |
Field(type="container", title="**Session-/Patient-Specific Properties**", children=[
|
| 207 |
Field(name="to_moderate", type="y_n_radio",
|
|
@@ -302,7 +302,7 @@ def display_image(image_path):
|
|
| 302 |
img = Image.open(f)
|
| 303 |
st.image(img, caption='8 most contributing properties', use_column_width=True)
|
| 304 |
|
| 305 |
-
def load_text(file)
|
| 306 |
with open(file, "r") as file:
|
| 307 |
consent_text = file.read()
|
| 308 |
return consent_text
|
|
|
|
| 199 |
|
| 200 |
fields: List[Field] = [
|
| 201 |
Field(name="patient", type="input_col", title="**Patient::**"),
|
| 202 |
+
#Field(type="expander", title="**Preceeding Comment:** *(expand)*", children=[
|
| 203 |
+
#Field(name="dialogue_name", type="input_col", title=""),
|
| 204 |
+
#]),
|
| 205 |
|
| 206 |
Field(type="container", title="**Session-/Patient-Specific Properties**", children=[
|
| 207 |
Field(name="to_moderate", type="y_n_radio",
|
|
|
|
| 302 |
img = Image.open(f)
|
| 303 |
st.image(img, caption='8 most contributing properties', use_column_width=True)
|
| 304 |
|
| 305 |
+
def load_text(file):#dialogue
|
| 306 |
with open(file, "r") as file:
|
| 307 |
consent_text = file.read()
|
| 308 |
return consent_text
|