t-montes commited on
Commit
4187ca4
·
1 Parent(s): 2c8281b

center image

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -117,7 +117,12 @@ def start_voting():
117
  initial_state["label2"]
118
  )
119
 
120
- with gr.Blocks(css=".leaderboard-table th, .leaderboard-table td { padding: 10px; }") as demo:
 
 
 
 
 
121
  with gr.Tabs():
122
  # Tab 1: Voting
123
  with gr.Tab("Voting"):
 
117
  initial_state["label2"]
118
  )
119
 
120
+ with gr.Blocks(css="""
121
+ #main-image {
122
+ margin: auto; /* Center the image */
123
+ display: block;
124
+ }
125
+ """) as demo:
126
  with gr.Tabs():
127
  # Tab 1: Voting
128
  with gr.Tab("Voting"):