Abhishek Thakur
commited on
Commit
·
f39f071
1
Parent(s):
a62a427
separate dataset section
Browse files
competitions/competitions.py
CHANGED
@@ -107,12 +107,11 @@ def _fetch_leaderboard(private):
|
|
107 |
]
|
108 |
|
109 |
|
110 |
-
with gr.Blocks() as demo:
|
111 |
with gr.Tabs() as tab_container:
|
112 |
with gr.TabItem("Overview", id="overview"):
|
113 |
-
gr.Markdown(f"# Welcome to {competition_info.competition_name}! 👋")
|
114 |
gr.Markdown(f"{competition_info.competition_description}")
|
115 |
-
|
116 |
gr.Markdown(f"{competition_info.dataset_description}")
|
117 |
with gr.TabItem("Public Leaderboard", id="public_leaderboard") as public_leaderboard:
|
118 |
output_text_public = gr.Markdown()
|
|
|
107 |
]
|
108 |
|
109 |
|
110 |
+
with gr.Blocks(css=".tabitem {padding: 25px}") as demo:
|
111 |
with gr.Tabs() as tab_container:
|
112 |
with gr.TabItem("Overview", id="overview"):
|
|
|
113 |
gr.Markdown(f"{competition_info.competition_description}")
|
114 |
+
with gr.TabItem("Dataset", id="dataset_tab") as dataset_tab:
|
115 |
gr.Markdown(f"{competition_info.dataset_description}")
|
116 |
with gr.TabItem("Public Leaderboard", id="public_leaderboard") as public_leaderboard:
|
117 |
output_text_public = gr.Markdown()
|