lhoestq HF staff commited on
Commit
cd20bea
·
1 Parent(s): 6bb3267

minor logging

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -612,6 +612,7 @@ with gr.Blocks(css=css) as demo:
612
  gr.Info(f"✅ Dataset saved at {repo_id}")
613
  additional_message = "PS: You can also save datasets under your account in the Settings ;)"
614
  yield {open_dataset_message: gr.Markdown(f"# 🎉 Yay ! Your dataset has been saved to [{repo_id}](https://huggingface.co/datasets/{repo_id}) !\n\nDataset link: [https://huggingface.co/datasets/{repo_id}](https://huggingface.co/datasets/{repo_id})\n\n{additional_message}", visible=True)}
 
615
 
616
 
617
  @dataset_share_button.click(inputs=[dataset_title, search_bar], outputs=[dataset_share_textbox])
 
612
  gr.Info(f"✅ Dataset saved at {repo_id}")
613
  additional_message = "PS: You can also save datasets under your account in the Settings ;)"
614
  yield {open_dataset_message: gr.Markdown(f"# 🎉 Yay ! Your dataset has been saved to [{repo_id}](https://huggingface.co/datasets/{repo_id}) !\n\nDataset link: [https://huggingface.co/datasets/{repo_id}](https://huggingface.co/datasets/{repo_id})\n\n{additional_message}", visible=True)}
615
+ print(f"Saved {dataset_name}!")
616
 
617
 
618
  @dataset_share_button.click(inputs=[dataset_title, search_bar], outputs=[dataset_share_textbox])