Commit
•
89cbf51
1
Parent(s):
0fcd4d1
feat: update hiding succes when push to hub
Browse files
src/distilabel_dataset_generator/apps/sft.py
CHANGED
@@ -394,9 +394,13 @@ with gr.Blocks(
|
|
394 |
)
|
395 |
|
396 |
btn_push_to_hub.click(
|
|
|
|
|
|
|
397 |
fn=push_to_hub,
|
398 |
inputs=[final_dataset, private, org_name, repo_name],
|
399 |
outputs=[final_dataset],
|
|
|
400 |
).then(
|
401 |
fn=upload_pipeline_code,
|
402 |
inputs=[pipeline_code, org_name, repo_name],
|
|
|
394 |
)
|
395 |
|
396 |
btn_push_to_hub.click(
|
397 |
+
fn=hide_success_message,
|
398 |
+
outputs=[success_message],
|
399 |
+
).then(
|
400 |
fn=push_to_hub,
|
401 |
inputs=[final_dataset, private, org_name, repo_name],
|
402 |
outputs=[final_dataset],
|
403 |
+
show_progress=True,
|
404 |
).then(
|
405 |
fn=upload_pipeline_code,
|
406 |
inputs=[pipeline_code, org_name, repo_name],
|