Jerrycool commited on
Commit
91a7993
·
verified ·
1 Parent(s): 7471198

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -227,11 +227,11 @@ intro_css = """
227
  color: #344054;
228
  text-align: center;
229
  max-width: 1000px;
230
- margin: 0 auto 3rem auto;
231
  }
232
  .introduction-wrapper p, .introduction-section p {
233
  font-size: 1.3rem !important; /* ≈22–23 px */
234
- margin-bottom: 1rem;
235
  }
236
  @media (max-width: 768px) {
237
  .introduction-wrapper, .introduction-section {
@@ -302,7 +302,7 @@ body {
302
  max-width: 800px;
303
  height: auto;
304
  display: block;
305
- margin: 0 auto; /* 水平居中 */
306
  }
307
  """
308
 
@@ -325,12 +325,12 @@ with demo:
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 ------------------
 
227
  color: #344054;
228
  text-align: center;
229
  max-width: 1000px;
230
+ margin: 0 auto 1rem auto;
231
  }
232
  .introduction-wrapper p, .introduction-section p {
233
  font-size: 1.3rem !important; /* ≈22–23 px */
234
+ margin-bottom: 0.5rem;
235
  }
236
  @media (max-width: 768px) {
237
  .introduction-wrapper, .introduction-section {
 
302
  max-width: 800px;
303
  height: auto;
304
  display: block;
305
+ margin: 0 auto;
306
  }
307
  """
308
 
 
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 ------------------