m-ric HF staff commited on
Commit
02271b4
β€’
1 Parent(s): 40a40cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -124,10 +124,10 @@ with gr.Blocks(theme=gr.themes.Soft(), css="#textbox_id {color: red; font-samily
124
  length_unit_selection = gr.Dropdown(
125
  choices=[
126
  "Character count",
127
- "Token count",
128
  ],
129
- value=["Character count", "Token count (BERT tokens)"],
130
- label="Length count",
131
  info="How should we count our chunk lengths?",
132
  )
133
  slider_count = gr.Slider(
 
124
  length_unit_selection = gr.Dropdown(
125
  choices=[
126
  "Character count",
127
+ "Token count (BERT tokens)",
128
  ],
129
+ value="Character count",
130
+ label="Length function",
131
  info="How should we count our chunk lengths?",
132
  )
133
  slider_count = gr.Slider(