philippds commited on
Commit
40567ae
1 Parent(s): c72fcf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -181,20 +181,22 @@ with block:
181
  gr.HTML(
182
  """
183
  <div align="left">
184
- <img
185
- src="https://raw.githubusercontent.com/hivex-research/hivex/main/docs/images/hivex_thumb.png"
186
- alt="hivex header image"
187
- style="border-radius: 20px; width: 20%;"
188
- />
 
 
189
  </div>
190
  """
191
  )
192
  with gr.Row(elem_id="header-row"):
193
- gr.HTML(f"<h1>HIVEX-Leaderboard</h1><br><p>Total models: {get_total_models()}</p>")
194
  with gr.Row(elem_id="header-row"):
195
  gr.HTML(f"<p>Total models: {get_total_models()}</p>")
196
  with gr.Row(elem_id="header-row"):
197
- gr.HTML(f"<p>To get started, please check out <a href='https://github.com/hivex-research/hivex'>our GitHub repository</a>.>")
198
 
199
  path_ = download_leaderboard_dataset()
200
  # gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
 
181
  gr.HTML(
182
  """
183
  <div align="left">
184
+ <div style="width: 50%; height: 150px; overflow: hidden; border-radius: 20px;">
185
+ <img
186
+ src="https://raw.githubusercontent.com/hivex-research/hivex/main/docs/images/hivex_thumb.png"
187
+ alt="hivex header image"
188
+ style="width: 100%; height: auto; object-fit: cover; object-position: center;"
189
+ />
190
+ </div>
191
  </div>
192
  """
193
  )
194
  with gr.Row(elem_id="header-row"):
195
+ gr.HTML(f"<h1>HIVEX-Leaderboard</h1>")
196
  with gr.Row(elem_id="header-row"):
197
  gr.HTML(f"<p>Total models: {get_total_models()}</p>")
198
  with gr.Row(elem_id="header-row"):
199
+ gr.HTML(f"<p>To get started, please check out <a href='https://github.com/hivex-research/hivex'>our GitHub repository</a>.</p>")
200
 
201
  path_ = download_leaderboard_dataset()
202
  # gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")