huggingface / datasets

🤗 The largest hub of ready-to-use datasets for ML models with fast, easy-to-use and efficient data manipulation tools
https://huggingface.co/docs/datasets
Apache License 2.0
19.31k stars 2.7k forks source link

website broken: Create a new dataset repository, doesn't create a new repo in Firefox #7108

Closed neoneye closed 3 months ago

neoneye commented 3 months ago

Describe the bug

This issue is also reported here: https://discuss.huggingface.co/t/create-a-new-dataset-repository-broken-page/102644

This page is broken. https://huggingface.co/new-dataset

I fill in the form with my text, and click Create Dataset. Screenshot 2024-08-16 at 15 55 37

Then the form gets wiped. And no repo got created. No error message visible in the developer console. Screenshot 2024-08-16 at 15 56 54

Idea for improvement

For better UX, if the repo cannot be created, then show an error message, that something went wrong.

Work around, that works for me

from huggingface_hub import HfApi, HfFolder
repo_id = 'simon-arc-solve-fractal-v3'
api = HfApi()
username = api.whoami()['name']
repo_url = api.create_repo(repo_id=repo_id, exist_ok=True, private=True, repo_type="dataset")

Steps to reproduce the bug

Go https://huggingface.co/new-dataset

Fill in the form.

Click Create dataset.

Now the form is cleared. And the page doesn't jump anywhere.

Expected behavior

The moment the user clicks Create dataset, the repo gets created and the page jumps to the created repo.

Environment info

Firefox 128.0.3 (64-bit) macOS Sonoma 14.5

severo commented 3 months ago

I don't reproduce, I was able to create a new repo: https://huggingface.co/datasets/severo/reproduce-datasets-issues-7108. Can you confirm it's still broken?

neoneye commented 3 months ago

I have just tried again.

Firefox: The Create dataset doesn't work. It has worked in the past. It's my preferred browser.

Chrome: The Create dataset works.

It seems to be a Firefox specific issue.

neoneye commented 3 months ago

I have updated Firefox 129.0 (64 bit), and now the Create dataset is working again in Firefox.

UX: It would be nice with better error messages on HuggingFace.

severo commented 3 months ago

maybe an issue with the cookie. cc @Wauplin @coyotte508