Spaces:
Running
Running
Aymeric Roucher
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,8 +136,8 @@ df_test .to_parquet("hf://datasets/username/my_dataset/test.parquet")
|
|
| 136 |
|
| 137 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 138 |
text = gr.Textbox(label="Your text 🪶", value=ESSAY)
|
| 139 |
-
split_selection = gr.
|
| 140 |
-
[
|
| 141 |
"LangChain's CharacterTextSplitter",
|
| 142 |
"Langchain's RecursiveCharacterTextSplitter - vanilla",
|
| 143 |
"Langchain's RecursiveCharacterTextSplitter - with '.'",
|
|
|
|
| 136 |
|
| 137 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 138 |
text = gr.Textbox(label="Your text 🪶", value=ESSAY)
|
| 139 |
+
split_selection = gr.Dropdown(
|
| 140 |
+
choices=[
|
| 141 |
"LangChain's CharacterTextSplitter",
|
| 142 |
"Langchain's RecursiveCharacterTextSplitter - vanilla",
|
| 143 |
"Langchain's RecursiveCharacterTextSplitter - with '.'",
|