FRENKIE-CHIANG commited on
Commit
db0416d
·
verified ·
1 Parent(s): d94af66

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +30 -1
app.py CHANGED
@@ -158,7 +158,36 @@ def handle_submit(file):
158
  # =========================
159
  # Gradio UI
160
  # =========================
161
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  gr.Markdown(
163
  """
164
  <h1 style="text-align:center; font-size:42px; margin-bottom:10px;">
 
158
  # =========================
159
  # Gradio UI
160
  # =========================
161
+ with gr.Blocks(
162
+ theme=gr.themes.Soft(),
163
+ css="""
164
+ .container {
165
+ max-width: 1200px;
166
+ margin: auto;
167
+ }
168
+ .leaderboard-links a {
169
+ display: inline-block;
170
+ margin: 0 8px;
171
+ padding: 6px 12px;
172
+ border-radius: 20px;
173
+ background: #f4f4f5;
174
+ color: #111827;
175
+ text-decoration: none;
176
+ font-weight: 500;
177
+ font-size: 14px;
178
+ }
179
+ .leaderboard-links a:hover {
180
+ background: #e5e7eb;
181
+ }
182
+ .description {
183
+ max-width: 900px;
184
+ margin: 18px auto 30px auto;
185
+ font-size: 16px;
186
+ line-height: 1.7;
187
+ color: #374151;
188
+ text-align: center;
189
+ }
190
+ """) as demo:
191
  gr.Markdown(
192
  """
193
  <h1 style="text-align:center; font-size:42px; margin-bottom:10px;">