davanstrien HF staff commited on
Commit
e7fb31c
1 Parent(s): f6712d8

refactor: update app.py to fix button label and improve descriptions

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -220,7 +220,7 @@ with gr.Blocks() as demo:
220
 
221
  corpus_preview_df = gr.DataFrame(label="Dataset Preview")
222
  preview_summary = gr.Markdown()
223
- gr.Markdown("""### 4. Upload to Hub
224
  After adjusting parameters and previewing the dataset, you can upload it to the Hugging Face Hub. Make sure to sign in to your Hugging Face account. Specify the Hub ID and choose whether to make the dataset private. Click 'Upload to Hub' to complete the process.
225
  """)
226
  with gr.Row():
@@ -229,7 +229,7 @@ with gr.Blocks() as demo:
229
  hub_id = gr.Textbox(value=None, label="Hub ID")
230
  private = gr.Checkbox(False, label="Upload dataset to a private repo?")
231
 
232
- upload_hub_button = gr.Button("Upload to Hub")
233
  upload_summary = gr.Markdown()
234
 
235
  with gr.Accordion("detailed logs", open=False):
 
220
 
221
  corpus_preview_df = gr.DataFrame(label="Dataset Preview")
222
  preview_summary = gr.Markdown()
223
+ gr.Markdown("""### 4. Upload to the Hub
224
  After adjusting parameters and previewing the dataset, you can upload it to the Hugging Face Hub. Make sure to sign in to your Hugging Face account. Specify the Hub ID and choose whether to make the dataset private. Click 'Upload to Hub' to complete the process.
225
  """)
226
  with gr.Row():
 
229
  hub_id = gr.Textbox(value=None, label="Hub ID")
230
  private = gr.Checkbox(False, label="Upload dataset to a private repo?")
231
 
232
+ upload_hub_button = gr.Button("Upload to the Hub")
233
  upload_summary = gr.Markdown()
234
 
235
  with gr.Accordion("detailed logs", open=False):