nbroad HF staff commited on
Commit
f0c5d5d
·
1 Parent(s): e9496ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -123,10 +123,10 @@ with gr.Blocks(title="Bulk embeddings") as demo:
123
  ds_name = gr.Textbox(
124
  lines=1,
125
  label="Dataset to load from Hugging Face Hub",
126
- value="nbroad/basic_text_dataset",
127
  )
128
  ds_config = gr.Textbox(
129
- lines=1, label="Dataset config (leave blank to use default)", value=""
130
  )
131
 
132
  column_name = gr.Textbox(lines=1, label="Enter column to embed", value="text")
@@ -152,7 +152,7 @@ with gr.Blocks(title="Bulk embeddings") as demo:
152
  new_dataset_id = gr.Textbox(
153
  lines=1,
154
  label="New dataset name, including username",
155
- value="nbroad/test-embeds",
156
  )
157
 
158
  num2skip = gr.Slider(
@@ -164,7 +164,7 @@ with gr.Blocks(title="Bulk embeddings") as demo:
164
  )
165
 
166
  num2embed = gr.Slider(
167
- value=-1,
168
  minimum=-1,
169
  maximum=10_000_000,
170
  step=1,
 
123
  ds_name = gr.Textbox(
124
  lines=1,
125
  label="Dataset to load from Hugging Face Hub",
126
+ value="wikipedia",
127
  )
128
  ds_config = gr.Textbox(
129
+ lines=1, label="Dataset config (leave blank to use default)", value="20220301.en"
130
  )
131
 
132
  column_name = gr.Textbox(lines=1, label="Enter column to embed", value="text")
 
152
  new_dataset_id = gr.Textbox(
153
  lines=1,
154
  label="New dataset name, including username",
155
+ value="wiki-embeds",
156
  )
157
 
158
  num2skip = gr.Slider(
 
164
  )
165
 
166
  num2embed = gr.Slider(
167
+ value=30000,
168
  minimum=-1,
169
  maximum=10_000_000,
170
  step=1,