Update src/about.py
Browse files- src/about.py +5 -1
src/about.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
from dataclasses import dataclass
|
2 |
from enum import Enum
|
|
|
|
|
3 |
|
4 |
@dataclass
|
5 |
class Task:
|
@@ -29,7 +31,9 @@ NUM_FEWSHOT = 0 # Change with your few shot
|
|
29 |
|
30 |
|
31 |
# Your leaderboard name
|
32 |
-
TITLE = """
|
|
|
|
|
33 |
|
34 |
|
35 |
# What does your leaderboard evaluate?
|
|
|
1 |
from dataclasses import dataclass
|
2 |
from enum import Enum
|
3 |
+
from src.envs import REPO_ID
|
4 |
+
|
5 |
|
6 |
@dataclass
|
7 |
class Task:
|
|
|
31 |
|
32 |
|
33 |
# Your leaderboard name
|
34 |
+
TITLE = f"""
|
35 |
+
<img src="https://huggingface.co/spaces/{REPO_ID}/resolve/main/leaderboard_banner.png" style="width:70%;display:block;margin-left:auto;margin-right:auto">
|
36 |
+
"""
|
37 |
|
38 |
|
39 |
# What does your leaderboard evaluate?
|