davanstrien HF staff commited on
Commit
4ee5487
1 Parent(s): 1b630c7
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -62,7 +62,9 @@ def upload_file(
62
  gr.Info("Uploading to Hugging Face Hub")
63
  dataset.push_to_hub(hub_id, token=oauth_token.token, private=private)
64
  update_dataset_card(hub_id, oauth_token.token, chunk_size, chunk_overlap)
65
- message += f"\n\nUploaded to [{hub_id}](https://huggingface.co/{hub_id}"
 
 
66
  else:
67
  raise gr.Error("Please login to Hugging Face Hub to push to hub")
68
 
 
62
  gr.Info("Uploading to Hugging Face Hub")
63
  dataset.push_to_hub(hub_id, token=oauth_token.token, private=private)
64
  update_dataset_card(hub_id, oauth_token.token, chunk_size, chunk_overlap)
65
+ message += (
66
+ f"\n\nUploaded to [{hub_id}](https://huggingface.co/datasets/{hub_id})"
67
+ )
68
  else:
69
  raise gr.Error("Please login to Hugging Face Hub to push to hub")
70