emvecchi commited on
Commit
8e4e0fd
1 Parent(s): 44c502a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -68,7 +68,7 @@ default_choices = function_choices
68
  fields: List[Field] = [
69
  Field(name="topic", type="input_col", title="**Topic:**"),
70
  Field(type="expander", title="**Preceeding Comment:** *(expand)*", children=[
71
- Field(name="parent_comment", type="input_col", title="**Preceeding Comment:**"),
72
  ]),
73
  #Field(name="parent_comment", type="input_col", title="**Preceeding Comment:**"),
74
  Field(name="comment", type="input_col", title="**Comment:**"),
@@ -222,13 +222,9 @@ div[data-testid="stMarkdownContainer"] > p {
222
  </style>
223
  """, unsafe_allow_html=True)
224
 
225
- st.markdown(
226
- """<details open>
227
- <summary>Annotation Guidelines</summary>
228
-
229
- some guidelines here
230
- </details>
231
- """, unsafe_allow_html=True)
232
 
233
  # Load the data to annotate
234
  if 'data' not in st.session_state:
 
68
  fields: List[Field] = [
69
  Field(name="topic", type="input_col", title="**Topic:**"),
70
  Field(type="expander", title="**Preceeding Comment:** *(expand)*", children=[
71
+ Field(name="parent_comment", type="input_col", title=""),
72
  ]),
73
  #Field(name="parent_comment", type="input_col", title="**Preceeding Comment:**"),
74
  Field(name="comment", type="input_col", title="**Comment:**"),
 
222
  </style>
223
  """, unsafe_allow_html=True)
224
 
225
+ expander = st.expander("Annotation Guidelines")
226
+ with st.expander(label="Annotation Guidelines", expanded=False):
227
+ st.write('some guidelines here')
 
 
 
 
228
 
229
  # Load the data to annotate
230
  if 'data' not in st.session_state: