emvecchi commited on
Commit
be8241d
·
verified ·
1 Parent(s): 339fdf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -173,10 +173,10 @@ fields1: List[Field] = [
173
 
174
  STEPS: List[List[Field]] = [fields0, fields1]
175
 
176
- url_conditional_fields = [
177
- Field(name="skip", type="skip_checkbox",
178
- title="*I am uncomfortable annotating this text and voluntarily skip this instance*", mandatory=False)
179
- ]
180
  INPUT_FIELD_DEFAULT_VALUES = {'slider': 0,
181
  'text': '',
182
  'textarea': '',
@@ -794,10 +794,10 @@ if 'current_index' not in st.session_state:
794
  if 'step' not in st.session_state:
795
  st.session_state.step = 0
796
 
797
- if get_param_from_url('show_extra_fields'):
798
- fields1 += url_conditional_fields
799
- else:
800
- fields1 += url_conditional_fields
801
 
802
 
803
  def add_validated_submit(fields, message):
 
173
 
174
  STEPS: List[List[Field]] = [fields0, fields1]
175
 
176
+ #url_conditional_fields = [
177
+ # Field(name="skip", type="skip_checkbox",
178
+ # title="*I am uncomfortable annotating this text and voluntarily skip this instance*", mandatory=False)
179
+ #]
180
  INPUT_FIELD_DEFAULT_VALUES = {'slider': 0,
181
  'text': '',
182
  'textarea': '',
 
794
  if 'step' not in st.session_state:
795
  st.session_state.step = 0
796
 
797
+ #if get_param_from_url('show_extra_fields'):
798
+ # fields1 += url_conditional_fields
799
+ #else:
800
+ # fields1 += url_conditional_fields
801
 
802
 
803
  def add_validated_submit(fields, message):