emvecchi commited on
Commit
9b8fa34
1 Parent(s): cecbbbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -41,7 +41,7 @@ COLS_TO_SAVE = ['comment_id']
41
 
42
  agreement_labels = ['strongly disagree', 'disagree', 'neither agree no disagree', 'agree', 'strongly agree']
43
  quality_labels = ['very poor', 'poor', 'acceptable', 'good', 'very good']
44
- priority_labels = ['not selected', 'not a priority', 'low priority', 'neutral', 'moderate priority', 'high priority']
45
  yes_no_labels = ['yes','no','other']
46
  default_labels = agreement_labels
47
 
@@ -147,7 +147,7 @@ fields: List[Field] = [
147
  Field(type="container", title="**Need for Moderation**", children=[
148
  Field(name="to_moderate", type="y_n_radio",
149
  title="Do feel this comment/discussion would benefit from moderator intervention?", mandatory=True),
150
- Field(name="actions_clear", type="select_slider",
151
  title="With what level of **priority** would you need to interact with this comment?", other_params={'labels': priority_labels},
152
  mandatory=True),
153
  ]),
@@ -394,7 +394,7 @@ st.markdown(
394
  div[data-testid="stMarkdownContainer"] > p {
395
  font-size: 1rem;
396
  }
397
- section.main > div {max-width:80rem}
398
  </style>
399
  """, unsafe_allow_html=True)
400
 
 
41
 
42
  agreement_labels = ['strongly disagree', 'disagree', 'neither agree no disagree', 'agree', 'strongly agree']
43
  quality_labels = ['very poor', 'poor', 'acceptable', 'good', 'very good']
44
+ priority_labels = ['not a priority', 'low priority', 'neutral', 'moderate priority', 'high priority']
45
  yes_no_labels = ['yes','no','other']
46
  default_labels = agreement_labels
47
 
 
147
  Field(type="container", title="**Need for Moderation**", children=[
148
  Field(name="to_moderate", type="y_n_radio",
149
  title="Do feel this comment/discussion would benefit from moderator intervention?", mandatory=True),
150
+ Field(name="actions_clear", type="likert_radio",
151
  title="With what level of **priority** would you need to interact with this comment?", other_params={'labels': priority_labels},
152
  mandatory=True),
153
  ]),
 
394
  div[data-testid="stMarkdownContainer"] > p {
395
  font-size: 1rem;
396
  }
397
+ section.main > div {max-width:75rem}
398
  </style>
399
  """, unsafe_allow_html=True)
400