Cannot correctly display the leaderboard

I am trying to build our own leaderboard based on an existing one by HF . But I found it cannot even work if I just duplicate this space and change the environment accordingly. Here is the link: https://huggingface.co/spaces/juncliu/demo_leaderboard. Basically, it cannot be displayed correctly.

But the log looks fine:

===== Application Startup at 2024-10-20 09:54:30 =====

None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
./eval-queue
./eval-results
* Running on local URL:  http://0.0.0.0:7860, with SSR ⚡
Attempted to select a non-interactive or hidden tab.
Attempted to select a non-interactive or hidden tab.

To create a public link, set `share=True` in `launch()`.
Attempted to select a non-interactive or hidden tab.
Attempted to select a non-interactive or hidden tab.
Attempted to select a non-interactive or hidden tab.
Attempted to select a non-interactive or hidden tab.

Also if I build locally, it looks fine:

Could anyone provide some suggestions about the potential issue for this?

1 Like

Set your username.

OWNER = "demo-leaderboard-backend" # Change to your org - don't forget to create a results and

to

OWNER = "juncliu"

Also, that leaderboard uses a slightly more powerful paid space, so the free CPU space might be a little less powerful to use it.

Edit:
Also, I believe you need to duplicate the following two datasets for this demo to work.

You can use this one made by the HF staff to duplicate it.

I encountered the same issue here.

1 Like