Spaces:
Running
Running
Update app.py
Browse files
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=
|
130 |
-
label="Length
|
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(
|