m-ric HF staff commited on
Commit
65fe728
1 Parent(s): b8e290e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,7 +78,7 @@ df_test .to_parquet("hf://datasets/username/my_dataset/test.parquet")
78
 
79
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
80
  text = gr.Textbox(label="Your text 🪶", value=ESSAY)
81
- with gr.Row():
82
  split_selection = gr.Dropdown(
83
  choices=[
84
  LABEL_TEXTSPLITTER,
@@ -88,6 +88,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
88
  label="Chunking method ",
89
  )
90
  separator_selection = gr.Textbox(
 
91
  value=["\n\n", "\n", ".", " ", ""],
92
  label="Separators used in RecursiveCharacterTextSplitter",
93
  interactive=False,
 
78
 
79
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
80
  text = gr.Textbox(label="Your text 🪶", value=ESSAY)
81
+ with gr.Row(css="#textbox_id textarea {color: red, font-samily:monospace}"):
82
  split_selection = gr.Dropdown(
83
  choices=[
84
  LABEL_TEXTSPLITTER,
 
88
  label="Chunking method ",
89
  )
90
  separator_selection = gr.Textbox(
91
+ , elem_id="textbox_id",
92
  value=["\n\n", "\n", ".", " ", ""],
93
  label="Separators used in RecursiveCharacterTextSplitter",
94
  interactive=False,