Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
ยท
5d702aa
1
Parent(s):
6d39d9c
edit : font (ko)
Browse files- tabs/leaderboard_v1_kr.py +52 -34
tabs/leaderboard_v1_kr.py
CHANGED
|
@@ -224,36 +224,36 @@ def create_leaderboard_v2_tab():
|
|
| 224 |
# Level metadata for the 7-stage task framework
|
| 225 |
level_details = {
|
| 226 |
"ALL": {
|
| 227 |
-
"title": "ALL ยท ์ ์ฒด
|
| 228 |
-
"description": "7๊ฐ์ ํ์คํฌ ์ ๋ฐ์ ํ๊ท ์ฑ๋ฅ์ ํ๋์ ์ดํด๋ณด๊ณ ๊ฐ ๋ ๋ฒจ ๋น๊ต๋ฅผ ์ํ ๊ธฐ์ค์ ์
|
| 229 |
},
|
| 230 |
"L1": {
|
| 231 |
-
"title": "<span style='color: white;'>L1 ยท ๋จ์ผ ๋๊ตฌ ํธ์ถ</span>",
|
| 232 |
-
"description": "<span style='color: white;'>๋จ์ผ ๋๊ตฌ ํธ์ถ ๋ฅ๋ ฅ๊ณผ ๊ธฐ๋ณธ์ ์ธ ๋ช
๋ น ์ํ ์ ํ๋๋ฅผ ํ๊ฐํฉ๋๋ค.</span>"
|
| 233 |
},
|
| 234 |
"L2": {
|
| 235 |
-
"title": "<span style='color: white;'>L2 ยท ๋๊ตฌ ์ ํ</span>",
|
| 236 |
-
"description": "<span style='color: white;'>์๊ตฌ ์ฌํญ์ ๋ง๋ ๋๊ตฌ๋ฅผ ๊ณ ๋ฅด๊ณ ์ ์ ํ ํ๋ผ๋ฏธํฐ๋ก ํธ์ถํ๋ ๋ฅ๋ ฅ์ ์ธก์ ํฉ๋๋ค.</span>"
|
| 237 |
},
|
| 238 |
"L3": {
|
| 239 |
-
"title": "<span style='color: white;'>L3 ยท ๋๊ตฌ ์์ฐจ ์ถ๋ก </span>",
|
| 240 |
-
"description": "<span style='color: white;'>๋ณต์ ๋จ๊ณ์ ์์ฐจ์ reasoning์ ํตํด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ๊ณผ์ ์ ๊ฒ์ฆํฉ๋๋ค.</span>"
|
| 241 |
},
|
| 242 |
"L4": {
|
| 243 |
-
"title": "<span style='color: white;'>L4 ยท ๋๊ตฌ ๋ณ๋ ฌ ์ถ๋ก </span>",
|
| 244 |
-
"description": "<span style='color: white;'>์ฌ๋ฌ ์์ค์ ์ ๋ณด๋ฅผ ๋ณ๋ ฌ์ ์ผ๋ก ํตํฉํ๊ณ ์์ฝํ๋ ๋ฅ๋ ฅ์ ํ๊ฐํฉ๋๋ค.</span>"
|
| 245 |
},
|
| 246 |
"L5": {
|
| 247 |
-
"title": "<span style='color: white;'>L5 ยท ์ค๋ฅ ์ฒ๋ฆฌ์ ๊ฐ๊ฑด์ฑ</span>",
|
| 248 |
-
"description": "<span style='color: white;'>์์์น ๋ชปํ ์ค๋ฅ๋ ์คํจ ์ํฉ์ ๋ํ ์ธ์ง์ ๋์ ์ ๋ต์ ํ์ธํฉ๋๋ค.</span>"
|
| 249 |
},
|
| 250 |
"L6": {
|
| 251 |
-
"title": "<span style='color: white;'>L6 ยท ํจ์จ์ ์ธ ๋๊ตฌ ํ์ฉ</span>",
|
| 252 |
-
"description": "<span style='color: white;'>์ต์ํ์ ํธ์ถ๊ณผ ๋น์ฉ์ผ๋ก ๋ชฉํ๋ฅผ ๋ฌ์ฑํ๋ ์ด์ ํจ์จ์ ์ดํด๋ด
๋๋ค.</span>"
|
| 253 |
},
|
| 254 |
"L7": {
|
| 255 |
-
"title": "<span style='color: white;'>L7 ยท ์ฅ๊ธฐ ์ปจํ
์คํธ ๊ธฐ์ต</span>",
|
| 256 |
-
"description": "<span style='color: white;'>์ฅ๊ธฐ ๋ํ ๋งฅ๋ฝ์ ์ ์งํ๊ณ ์ ์ ํ
|
| 257 |
}
|
| 258 |
}
|
| 259 |
default_level = "ALL"
|
|
@@ -736,6 +736,8 @@ def create_leaderboard_v2_tab():
|
|
| 736 |
# Header styles and navigation
|
| 737 |
gr.HTML("""
|
| 738 |
<style>
|
|
|
|
|
|
|
| 739 |
/* Enhanced button styling with better gradio compatibility */
|
| 740 |
.header-action-button {
|
| 741 |
display: inline-block !important;
|
|
@@ -812,7 +814,7 @@ def create_leaderboard_v2_tab():
|
|
| 812 |
}
|
| 813 |
|
| 814 |
.hero-title {
|
| 815 |
-
font-size:
|
| 816 |
font-weight: 800;
|
| 817 |
line-height: 1.1;
|
| 818 |
background: linear-gradient(135deg, #FFE082 0%, #FFC107 50%, #FFB300 100%);
|
|
@@ -824,7 +826,7 @@ def create_leaderboard_v2_tab():
|
|
| 824 |
|
| 825 |
.hero-subtitle {
|
| 826 |
color: var(--text-secondary);
|
| 827 |
-
font-size:
|
| 828 |
font-family: 'Do Hyeon', sans-serif !important;
|
| 829 |
margin-top: 0;
|
| 830 |
}
|
|
@@ -904,12 +906,12 @@ def create_leaderboard_v2_tab():
|
|
| 904 |
}
|
| 905 |
|
| 906 |
.section-title {
|
| 907 |
-
font-size:
|
| 908 |
font-weight: 700;
|
| 909 |
color: var(--text-primary);
|
| 910 |
margin-bottom: 12px;
|
| 911 |
text-align: center !important;
|
| 912 |
-
font-family: '
|
| 913 |
}
|
| 914 |
|
| 915 |
.section-lead, .section-subtitle {
|
|
@@ -1070,7 +1072,7 @@ def create_leaderboard_v2_tab():
|
|
| 1070 |
/* Responsive design */
|
| 1071 |
@media (max-width: 768px) {
|
| 1072 |
.hero-title {
|
| 1073 |
-
font-size:
|
| 1074 |
}
|
| 1075 |
.hero-action-button {
|
| 1076 |
width: 100% !important;
|
|
@@ -1094,7 +1096,7 @@ def create_leaderboard_v2_tab():
|
|
| 1094 |
gap: 8px;
|
| 1095 |
}
|
| 1096 |
.section-title {
|
| 1097 |
-
font-size:
|
| 1098 |
}
|
| 1099 |
.phase-chart {
|
| 1100 |
width: 100px;
|
|
@@ -1164,7 +1166,7 @@ def create_leaderboard_v2_tab():
|
|
| 1164 |
gr.HTML("""
|
| 1165 |
<div class="dashboard-section">
|
| 1166 |
<div class="section-header">
|
| 1167 |
-
<h2 class="section-title">๋จ๊ณ๋ณ ํ์คํฌ ์ค๊ณ</h2>
|
| 1168 |
</div>
|
| 1169 |
<p class="section-lead" style="text-align: center; margin: 0 auto 24px auto; max-width: 720px; line-height: 1.7; word-break: keep-all;">๋จ์ ๋๊ตฌ ํธ์ถ๋ถํฐ ์ฅ๊ธฐ์ ๋งฅ๋ฝ ๋ฅ๋ ฅ, ๊ฐ๊ฑด์ฑ ์ฒ๋ฆฌ ๋ฅ๋ ฅ๊น์ง ์์ด์ ํธ์ ๋ฅ๋ ฅ์ 7๋จ๊ณ๋ก ์
์ฒด์ ์ผ๋ก ๋ถ์ํ์์ต๋๋ค.</p>
|
| 1170 |
<div class="phase-grid">
|
|
@@ -1199,7 +1201,7 @@ def create_leaderboard_v2_tab():
|
|
| 1199 |
gr.HTML("""
|
| 1200 |
<div class="dashboard-section emphasized">
|
| 1201 |
<div class="section-header">
|
| 1202 |
-
<h2 class="section-title">18๊ฐ์ง ํ๊ตญํ API ์ฌ์ฉ ๋ฐ ์ค์ํ ํ๊ฒฝ์ ํนํ๋ ๊ณ ํ์ง ์๋๋ฆฌ์ค ๊ตฌ์ฑ</h2>
|
| 1203 |
</div>
|
| 1204 |
<div class="scenario-body">
|
| 1205 |
<p>๋ค์ด๋ฒ, ์ง๋, ์นด์นด์ค, ์น์ฌ์ดํธ ๋ฑ ํ๊ตญ ์ค์ฌ์ฉ ํ๊ฒฝ ๊ธฐ๋ฐ์ API๋ฅผ ๊ธฐ๋ฐ์ผ๋ก<br> ๊ตญ๋ด ์ฌ์ฉ์์ ์ผ์๊ณผ ๋ฐ์ ํ '์ฝ์ ์์ฝ', '๋ธ๋ก๊ทธ ํ๊ธฐ ๊ฒ์'๊ณผ ๊ฐ์ ํ์ค์ ์ธ ๋ฌธ์ ํด๊ฒฐ ์๋๋ฆฌ์ค๋ฅผ ๊ตฌํํ์ต๋๋ค.</p>
|
|
@@ -1213,7 +1215,7 @@ def create_leaderboard_v2_tab():
|
|
| 1213 |
gr.HTML("""
|
| 1214 |
<div class="dashboard-section">
|
| 1215 |
<div class="section-header">
|
| 1216 |
-
<h2 class="section-title">ํต์ฌ ํ๊ฐ ๊ธฐ์ค</h2>
|
| 1217 |
</div>
|
| 1218 |
<div class="criteria-grid">
|
| 1219 |
<div class="criteria-card">
|
|
@@ -1247,6 +1249,8 @@ def create_leaderboard_v2_tab():
|
|
| 1247 |
# Domain filter section with enhanced styling
|
| 1248 |
gr.HTML("""
|
| 1249 |
<style>
|
|
|
|
|
|
|
| 1250 |
/* Enhanced domain selector styling */
|
| 1251 |
.domain-selector-container {
|
| 1252 |
background: #ffd21e0d;
|
|
@@ -1349,10 +1353,10 @@ def create_leaderboard_v2_tab():
|
|
| 1349 |
-webkit-background-clip: text;
|
| 1350 |
background-clip: text;
|
| 1351 |
-webkit-text-fill-color: transparent;
|
| 1352 |
-
text-shadow: 0 0
|
| 1353 |
-
filter: drop-shadow(0 0
|
| 1354 |
letter-spacing: 0.02em;
|
| 1355 |
-
animation: title-shimmer
|
| 1356 |
font-family: 'Gowun Dodum', sans-serif !important;
|
| 1357 |
}
|
| 1358 |
|
|
@@ -2054,7 +2058,7 @@ def create_leaderboard_v2_tab():
|
|
| 2054 |
leaderboard_title = gr.HTML(update_leaderboard_title(default_level))
|
| 2055 |
|
| 2056 |
# Integrated controls within leaderboard section - stacked vertically
|
| 2057 |
-
gr.HTML("<p style='color: white; margin: 5px 0 5px 0; font-size: 1.
|
| 2058 |
domain_filter = gr.Radio(
|
| 2059 |
choices=level_options,
|
| 2060 |
value=default_level,
|
|
@@ -2064,7 +2068,7 @@ def create_leaderboard_v2_tab():
|
|
| 2064 |
elem_classes=["domain-radio", "inline-radio"]
|
| 2065 |
)
|
| 2066 |
|
| 2067 |
-
gr.HTML("<p style='color: white; margin: 5px 0 0px 0; font-size: 1.
|
| 2068 |
with gr.Row():
|
| 2069 |
with gr.Column(scale=1):
|
| 2070 |
gr.HTML("<span style='color: white; font-size: 1.2rem; margin-bottom: 5px; display: block;'>๋ชจ๋ธ ์ ๊ทผ</span>")
|
|
@@ -2096,7 +2100,7 @@ def create_leaderboard_v2_tab():
|
|
| 2096 |
</div>
|
| 2097 |
""")
|
| 2098 |
|
| 2099 |
-
gr.HTML("<p style='color: white; margin: 10px 0 0 0; font-size: 1.2rem; font-family:
|
| 2100 |
# gr.HTML("<p style='color: #b0b0b0; margin: 0 0 10px 0; font-size: 0.9rem;'>๋ชจ๋ธ์ ์ต๋ 5๊ฐ๊น์ง ์ ํ ๊ฐ๋ฅ ํฉ๋๋ค.</p>")
|
| 2101 |
model_selector = gr.Dropdown(
|
| 2102 |
choices=initial_df['Model'].tolist()[:10],
|
|
@@ -2331,7 +2335,7 @@ def create_leaderboard_v2_tab():
|
|
| 2331 |
""")
|
| 2332 |
|
| 2333 |
gr.HTML("""
|
| 2334 |
-
<p style="color: white; text-align: center; margin: 0 0 20px 0; font-size: 1.
|
| 2335 |
""")
|
| 2336 |
|
| 2337 |
with gr.Column(elem_classes=["domain-selector-container", "level-selector-container"], elem_id="level-selector-box"):
|
|
@@ -3001,7 +3005,6 @@ def create_leaderboard_v2_tab():
|
|
| 3001 |
.dashboard-section h3,
|
| 3002 |
.dashboard-section p,
|
| 3003 |
.dashboard-section li,
|
| 3004 |
-
.section-title,
|
| 3005 |
.section-lead,
|
| 3006 |
.section-subtitle,
|
| 3007 |
.phase-card h3,
|
|
@@ -3013,6 +3016,14 @@ def create_leaderboard_v2_tab():
|
|
| 3013 |
font-family: "Nanum Gothic", sans-serif !important;
|
| 3014 |
}
|
| 3015 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3016 |
.domain-title,
|
| 3017 |
h2.domain-title,
|
| 3018 |
.domain-header .domain-title {
|
|
@@ -3023,7 +3034,14 @@ def create_leaderboard_v2_tab():
|
|
| 3023 |
.hero-subtitle,
|
| 3024 |
h1.hero-title,
|
| 3025 |
p.hero-subtitle {
|
| 3026 |
-
font-family: "Do Hyeon", sans-serif !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3027 |
}
|
| 3028 |
|
| 3029 |
.phase-chart span,
|
|
|
|
| 224 |
# Level metadata for the 7-stage task framework
|
| 225 |
level_details = {
|
| 226 |
"ALL": {
|
| 227 |
+
"title": "<span style='font-family: \"Gowun Dodum\", sans-serif !important;'>ALL ยท ์ ์ฒด ํ์คํฌ</span>",
|
| 228 |
+
"description": "<span style='font-family: \"Nanum Gothic\", sans-serif !important;'>7๊ฐ์ ํ์คํฌ ์ ๋ฐ์ ํ๊ท ์ฑ๋ฅ์ ํ๋์ ์ดํด๋ณด๊ณ ๊ฐ ๋ ๋ฒจ ๋น๊ต๋ฅผ ์ํ ๊ธฐ์ค์ ์ ์ ๊ณตํฉ๋๋ค.</span>"
|
| 229 |
},
|
| 230 |
"L1": {
|
| 231 |
+
"title": "<span style='color: white; font-family: \"Gowun Dodum\", sans-serif !important;'>L1 ยท ๋จ์ผ ๋๊ตฌ ํธ์ถ</span>",
|
| 232 |
+
"description": "<span style='color: white; font-family: \"Nanum Gothic\", sans-serif !important;'>๋จ์ผ ๋๊ตฌ ํธ์ถ ๋ฅ๋ ฅ๊ณผ ๊ธฐ๋ณธ์ ์ธ ๋ช
๋ น ์ํ ์ ํ๋๋ฅผ ํ๊ฐํฉ๋๋ค.</span>"
|
| 233 |
},
|
| 234 |
"L2": {
|
| 235 |
+
"title": "<span style='color: white; font-family: \"Gowun Dodum\", sans-serif !important;'>L2 ยท ๋๊ตฌ ์ ํ</span>",
|
| 236 |
+
"description": "<span style='color: white; font-family: \"Nanum Gothic\", sans-serif !important;'>์๊ตฌ ์ฌํญ์ ๋ง๋ ๋๊ตฌ๋ฅผ ๊ณ ๋ฅด๊ณ ์ ์ ํ ํ๋ผ๋ฏธํฐ๋ก ํธ์ถํ๋ ๋ฅ๋ ฅ์ ์ธก์ ํฉ๋๋ค.</span>"
|
| 237 |
},
|
| 238 |
"L3": {
|
| 239 |
+
"title": "<span style='color: white; font-family: \"Gowun Dodum\", sans-serif !important;'>L3 ยท ๋๊ตฌ ์์ฐจ ์ถ๋ก </span>",
|
| 240 |
+
"description": "<span style='color: white; font-family: \"Nanum Gothic\", sans-serif !important;'>๋ณต์ ๋จ๊ณ์ ์์ฐจ์ reasoning์ ํตํด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ๊ณผ์ ์ ๊ฒ์ฆํฉ๋๋ค.</span>"
|
| 241 |
},
|
| 242 |
"L4": {
|
| 243 |
+
"title": "<span style='color: white; font-family: \"Gowun Dodum\", sans-serif !important;'>L4 ยท ๋๊ตฌ ๋ณ๋ ฌ ์ถ๋ก </span>",
|
| 244 |
+
"description": "<span style='color: white; font-family: \"Nanum Gothic\", sans-serif !important;'>์ฌ๋ฌ ์์ค์ ์ ๋ณด๋ฅผ ๋ณ๋ ฌ์ ์ผ๋ก ํตํฉํ๊ณ ์์ฝํ๋ ๋ฅ๋ ฅ์ ํ๊ฐํฉ๋๋ค.</span>"
|
| 245 |
},
|
| 246 |
"L5": {
|
| 247 |
+
"title": "<span style='color: white; font-family: \"Gowun Dodum\", sans-serif !important;'>L5 ยท ์ค๋ฅ ์ฒ๋ฆฌ์ ๊ฐ๊ฑด์ฑ</span>",
|
| 248 |
+
"description": "<span style='color: white; font-family: \"Nanum Gothic\", sans-serif !important;'>์์์น ๋ชปํ ์ค๋ฅ๋ ์คํจ ์ํฉ์ ๋ํ ์ธ์ง์ ๋์ ์ ๋ต์ ํ์ธํฉ๋๋ค.</span>"
|
| 249 |
},
|
| 250 |
"L6": {
|
| 251 |
+
"title": "<span style='color: white; font-family: \"Gowun Dodum\", sans-serif !important;'>L6 ยท ํจ์จ์ ์ธ ๋๊ตฌ ํ์ฉ</span>",
|
| 252 |
+
"description": "<span style='color: white; font-family: \"Nanum Gothic\", sans-serif !important;'>์ต์ํ์ ํธ์ถ๊ณผ ๋น์ฉ์ผ๋ก ๋ชฉํ๋ฅผ ๋ฌ์ฑํ๋ ์ด์ ํจ์จ์ ์ดํด๋ด
๋๋ค.</span>"
|
| 253 |
},
|
| 254 |
"L7": {
|
| 255 |
+
"title": "<span style='color: white; font-family: \"Gowun Dodum\", sans-serif !important;'>L7 ยท ์ฅ๊ธฐ ์ปจํ
์คํธ ๊ธฐ์ต</span>",
|
| 256 |
+
"description": "<span style='color: white; font-family: \"Nanum Gothic\", sans-serif !important;'>์ฅ๊ธฐ ๋ํ ๋งฅ๋ฝ์ ์ ์งํ๊ณ ์ ์ ํ ํ์ฉํ๏ฟฝ๏ฟฝ๏ฟฝ ๋ฅ๋ ฅ์ ์ง์ค์ ์ผ๋ก ๋ถ์ํฉ๋๋ค.</span>"
|
| 257 |
}
|
| 258 |
}
|
| 259 |
default_level = "ALL"
|
|
|
|
| 736 |
# Header styles and navigation
|
| 737 |
gr.HTML("""
|
| 738 |
<style>
|
| 739 |
+
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&family=Gowun+Dodum&family=Do+Hyeon&display=swap');
|
| 740 |
+
|
| 741 |
/* Enhanced button styling with better gradio compatibility */
|
| 742 |
.header-action-button {
|
| 743 |
display: inline-block !important;
|
|
|
|
| 814 |
}
|
| 815 |
|
| 816 |
.hero-title {
|
| 817 |
+
font-size: 10rem;
|
| 818 |
font-weight: 800;
|
| 819 |
line-height: 1.1;
|
| 820 |
background: linear-gradient(135deg, #FFE082 0%, #FFC107 50%, #FFB300 100%);
|
|
|
|
| 826 |
|
| 827 |
.hero-subtitle {
|
| 828 |
color: var(--text-secondary);
|
| 829 |
+
font-size: 3rem;
|
| 830 |
font-family: 'Do Hyeon', sans-serif !important;
|
| 831 |
margin-top: 0;
|
| 832 |
}
|
|
|
|
| 906 |
}
|
| 907 |
|
| 908 |
.section-title {
|
| 909 |
+
font-size: 3.75rem;
|
| 910 |
font-weight: 700;
|
| 911 |
color: var(--text-primary);
|
| 912 |
margin-bottom: 12px;
|
| 913 |
text-align: center !important;
|
| 914 |
+
font-family: 'Gowun Dodum', sans-serif !important;
|
| 915 |
}
|
| 916 |
|
| 917 |
.section-lead, .section-subtitle {
|
|
|
|
| 1072 |
/* Responsive design */
|
| 1073 |
@media (max-width: 768px) {
|
| 1074 |
.hero-title {
|
| 1075 |
+
font-size: 10rem;
|
| 1076 |
}
|
| 1077 |
.hero-action-button {
|
| 1078 |
width: 100% !important;
|
|
|
|
| 1096 |
gap: 8px;
|
| 1097 |
}
|
| 1098 |
.section-title {
|
| 1099 |
+
font-size: 2.7rem;
|
| 1100 |
}
|
| 1101 |
.phase-chart {
|
| 1102 |
width: 100px;
|
|
|
|
| 1166 |
gr.HTML("""
|
| 1167 |
<div class="dashboard-section">
|
| 1168 |
<div class="section-header">
|
| 1169 |
+
<h2 class="section-title" style="font-family: 'Gowun Dodum', sans-serif; font-size: 2.5rem;">๋จ๊ณ๋ณ ํ์คํฌ ์ค๊ณ</h2>
|
| 1170 |
</div>
|
| 1171 |
<p class="section-lead" style="text-align: center; margin: 0 auto 24px auto; max-width: 720px; line-height: 1.7; word-break: keep-all;">๋จ์ ๋๊ตฌ ํธ์ถ๋ถํฐ ์ฅ๊ธฐ์ ๋งฅ๋ฝ ๋ฅ๋ ฅ, ๊ฐ๊ฑด์ฑ ์ฒ๋ฆฌ ๋ฅ๋ ฅ๊น์ง ์์ด์ ํธ์ ๋ฅ๋ ฅ์ 7๋จ๊ณ๋ก ์
์ฒด์ ์ผ๋ก ๋ถ์ํ์์ต๋๋ค.</p>
|
| 1172 |
<div class="phase-grid">
|
|
|
|
| 1201 |
gr.HTML("""
|
| 1202 |
<div class="dashboard-section emphasized">
|
| 1203 |
<div class="section-header">
|
| 1204 |
+
<h2 class="section-title" style="font-size: 2.0rem;">18๊ฐ์ง ํ๊ตญํ API ์ฌ์ฉ ๋ฐ ์ค์ํ ํ๊ฒฝ์ ํนํ๋ ๊ณ ํ์ง ์๋๋ฆฌ์ค ๊ตฌ์ฑ</h2>
|
| 1205 |
</div>
|
| 1206 |
<div class="scenario-body">
|
| 1207 |
<p>๋ค์ด๋ฒ, ์ง๋, ์นด์นด์ค, ์น์ฌ์ดํธ ๋ฑ ํ๊ตญ ์ค์ฌ์ฉ ํ๊ฒฝ ๊ธฐ๋ฐ์ API๋ฅผ ๊ธฐ๋ฐ์ผ๋ก<br> ๊ตญ๋ด ์ฌ์ฉ์์ ์ผ์๊ณผ ๋ฐ์ ํ '์ฝ์ ์์ฝ', '๋ธ๋ก๊ทธ ํ๊ธฐ ๊ฒ์'๊ณผ ๊ฐ์ ํ์ค์ ์ธ ๋ฌธ์ ํด๊ฒฐ ์๋๋ฆฌ์ค๋ฅผ ๊ตฌํํ์ต๋๋ค.</p>
|
|
|
|
| 1215 |
gr.HTML("""
|
| 1216 |
<div class="dashboard-section">
|
| 1217 |
<div class="section-header">
|
| 1218 |
+
<h2 class="section-title" style="font-size: 2.0rem;">ํต์ฌ ํ๊ฐ ๊ธฐ์ค</h2>
|
| 1219 |
</div>
|
| 1220 |
<div class="criteria-grid">
|
| 1221 |
<div class="criteria-card">
|
|
|
|
| 1249 |
# Domain filter section with enhanced styling
|
| 1250 |
gr.HTML("""
|
| 1251 |
<style>
|
| 1252 |
+
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&family=Gowun+Dodum&family=Do+Hyeon&display=swap');
|
| 1253 |
+
|
| 1254 |
/* Enhanced domain selector styling */
|
| 1255 |
.domain-selector-container {
|
| 1256 |
background: #ffd21e0d;
|
|
|
|
| 1353 |
-webkit-background-clip: text;
|
| 1354 |
background-clip: text;
|
| 1355 |
-webkit-text-fill-color: transparent;
|
| 1356 |
+
text-shadow: 0 0 3px rgba(255, 210, 30, 0.08), 0 0 8px rgba(255, 210, 30, 0.05);
|
| 1357 |
+
filter: drop-shadow(0 0 2px rgba(255, 210, 30, 0.06));
|
| 1358 |
letter-spacing: 0.02em;
|
| 1359 |
+
animation: title-shimmer 1.25s ease-in-out infinite;
|
| 1360 |
font-family: 'Gowun Dodum', sans-serif !important;
|
| 1361 |
}
|
| 1362 |
|
|
|
|
| 2058 |
leaderboard_title = gr.HTML(update_leaderboard_title(default_level))
|
| 2059 |
|
| 2060 |
# Integrated controls within leaderboard section - stacked vertically
|
| 2061 |
+
gr.HTML("<p style='color: white; margin: 5px 0 5px 0; font-size: 1.2rem;'>ํ์คํฌ ๋ ๋ฒจ ์ ํ</p>")
|
| 2062 |
domain_filter = gr.Radio(
|
| 2063 |
choices=level_options,
|
| 2064 |
value=default_level,
|
|
|
|
| 2068 |
elem_classes=["domain-radio", "inline-radio"]
|
| 2069 |
)
|
| 2070 |
|
| 2071 |
+
gr.HTML("<p style='color: white; margin: 5px 0 0px 0; font-size: 1.2rem;'>๐ ํํฐ ๋ฐ ์ ๋ ฌ</p>")
|
| 2072 |
with gr.Row():
|
| 2073 |
with gr.Column(scale=1):
|
| 2074 |
gr.HTML("<span style='color: white; font-size: 1.2rem; margin-bottom: 5px; display: block;'>๋ชจ๋ธ ์ ๊ทผ</span>")
|
|
|
|
| 2100 |
</div>
|
| 2101 |
""")
|
| 2102 |
|
| 2103 |
+
gr.HTML("<p style='color: white; margin: 10px 0 0 0; font-size: 1.2rem; font-family: \"Nanum Gothic\", sans-serif;'>๋น๊ตํ ๋ชจ๋ธ์ ์ ํํ์ธ์. ์ต๋ 5๊ฐ๊น์ง ๊ฐ๋ฅํฉ๋๋ค.</p>")
|
| 2104 |
# gr.HTML("<p style='color: #b0b0b0; margin: 0 0 10px 0; font-size: 0.9rem;'>๋ชจ๋ธ์ ์ต๋ 5๊ฐ๊น์ง ์ ํ ๊ฐ๋ฅ ํฉ๋๋ค.</p>")
|
| 2105 |
model_selector = gr.Dropdown(
|
| 2106 |
choices=initial_df['Model'].tolist()[:10],
|
|
|
|
| 2335 |
""")
|
| 2336 |
|
| 2337 |
gr.HTML("""
|
| 2338 |
+
<p style="color: white; text-align: center; margin: 0 0 20px 0; font-size: 1.2rem; font-family: \'Nanum Gothic\', sans-serif;">ํ์คํฌ ๋ ๋ฒจ๊ณผ ๋ชจ๋ธ(์ต๋ 5๊ฐ)์ ์ ํํ์ฌ ์์ธ ์งํ๋ฅผ ํ์ํ์ธ์.</p>
|
| 2339 |
""")
|
| 2340 |
|
| 2341 |
with gr.Column(elem_classes=["domain-selector-container", "level-selector-container"], elem_id="level-selector-box"):
|
|
|
|
| 3005 |
.dashboard-section h3,
|
| 3006 |
.dashboard-section p,
|
| 3007 |
.dashboard-section li,
|
|
|
|
| 3008 |
.section-lead,
|
| 3009 |
.section-subtitle,
|
| 3010 |
.phase-card h3,
|
|
|
|
| 3016 |
font-family: "Nanum Gothic", sans-serif !important;
|
| 3017 |
}
|
| 3018 |
|
| 3019 |
+
/* section-title ๊ฐ์ ์ ์ฉ */
|
| 3020 |
+
.section-title,
|
| 3021 |
+
h2.section-title,
|
| 3022 |
+
.dashboard-section .section-title,
|
| 3023 |
+
.section-header .section-title {
|
| 3024 |
+
font-family: "Gowun Dodum", sans-serif !important;
|
| 3025 |
+
}
|
| 3026 |
+
|
| 3027 |
.domain-title,
|
| 3028 |
h2.domain-title,
|
| 3029 |
.domain-header .domain-title {
|
|
|
|
| 3034 |
.hero-subtitle,
|
| 3035 |
h1.hero-title,
|
| 3036 |
p.hero-subtitle {
|
| 3037 |
+
font-family: "Do Hyeon", sans-serif !important;
|
| 3038 |
+
font-size: 2rem; !important;
|
| 3039 |
+
}
|
| 3040 |
+
|
| 3041 |
+
/* hero-title ํฌ๊ธฐ ๊ฐ์ ์ ์ฉ */
|
| 3042 |
+
.hero-title,
|
| 3043 |
+
h1.hero-title {
|
| 3044 |
+
font-size: 4rem !important;
|
| 3045 |
}
|
| 3046 |
|
| 3047 |
.phase-chart span,
|