Jerrycool commited on
Commit
7471198
·
verified ·
1 Parent(s): 3771afd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py CHANGED
@@ -297,6 +297,13 @@ body {
297
  padding: 0.9rem 1.2rem;
298
  line-height: 1.4;
299
  }
 
 
 
 
 
 
 
300
  """
301
 
302
  # Concatenate user‑defined, base and intro CSS (order = priority)
@@ -316,6 +323,15 @@ with demo:
316
  with gr.Row():
317
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="introduction-wrapper")
318
 
 
 
 
 
 
 
 
 
 
319
  with gr.Tabs(elem_classes="tab-buttons"):
320
  # ------------------ Leaderboard tab ------------------
321
  with gr.TabItem("🏅 MLE-Dojo Benchmark", id=0):
 
297
  padding: 0.9rem 1.2rem;
298
  line-height: 1.4;
299
  }
300
+
301
+ #intro-image img {
302
+ max-width: 800px;
303
+ height: auto;
304
+ display: block;
305
+ margin: 0 auto; /* 水平居中 */
306
+ }
307
  """
308
 
309
  # Concatenate user‑defined, base and intro CSS (order = priority)
 
323
  with gr.Row():
324
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="introduction-wrapper")
325
 
326
+
327
+ # NEW ⭐: image immediately below the introduction
328
+ with gr.Row():
329
+ gr.Image(
330
+ value="overview.jpg",
331
+ show_label=False,
332
+ elem_id="intro-image",
333
+ )
334
+
335
  with gr.Tabs(elem_classes="tab-buttons"):
336
  # ------------------ Leaderboard tab ------------------
337
  with gr.TabItem("🏅 MLE-Dojo Benchmark", id=0):