marcenacp commited on
Commit
f374b33
1 Parent(s): 6d46906

Deploy (see actual commits on https://github.com/mlcommons/croissant).

Browse files
Files changed (1) hide show
  1. views/record_sets.py +9 -6
views/record_sets.py CHANGED
@@ -260,8 +260,11 @@ def _render_left_panel():
260
  "The RecordSet is an enumeration",
261
  key=key,
262
  help=(
263
- "Enumerations indicate that the RecordSet takes its values in a"
264
- " finite set. Similar to `ClassLabel` in TFDS or Hugging Face."
 
 
 
265
  ),
266
  value=record_set.is_enumeration,
267
  on_change=handle_record_set_change,
@@ -336,11 +339,11 @@ def _render_left_panel():
336
  st.markdown(
337
  needed_field("Fields"),
338
  help=(
339
- "Add/delete fields by directly editing the table. Warning: the"
340
  " table contains information about the fields--not the data"
341
- " directly. If you wish to embed data, select `The RecordSet is an"
342
- " enumeration` above. To edit fields details, click the button"
343
- " `Edit fields details` below."
344
  ),
345
  )
346
  st.data_editor(
 
260
  "The RecordSet is an enumeration",
261
  key=key,
262
  help=(
263
+ "Enumerations indicate that the RecordSet takes its values from a"
264
+ " finite set. Similar to `ClassLabel` in"
265
+ " [TFDS](https://www.tensorflow.org/datasets/api_docs/python/tfds/features/ClassLabel)"
266
+ " or [Hugging"
267
+ " Face](https://huggingface.co/docs/datasets/v2.15.0/en/package_reference/main_classes#datasets.ClassLabel)."
268
  ),
269
  value=record_set.is_enumeration,
270
  on_change=handle_record_set_change,
 
339
  st.markdown(
340
  needed_field("Fields"),
341
  help=(
342
+ "Add/delete fields by directly editing the table. **Warning**: the"
343
  " table contains information about the fields--not the data"
344
+ " directly. If you wish to embed data, tick the `The RecordSet is"
345
+ " an enumeration` box. To edit fields details, click the"
346
+ " button `Edit fields details` below."
347
  ),
348
  )
349
  st.data_editor(