Renming Zhang commited on
Commit
e103d55
1 Parent(s): 43feb65

modified the style of title

Browse files
Files changed (3) hide show
  1. app.py +4 -3
  2. src/display/about.py +1 -1
  3. src/display/css_html_js.py +7 -0
app.py CHANGED
@@ -225,9 +225,10 @@ def load_image(image_path):
225
 
226
 
227
  with demo:
228
- gr.Image("./assets/logo.png", height="200px", width="200px",
229
- show_download_button=False, container=False)
230
- gr.HTML(TITLE)
 
231
 
232
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
233
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
 
225
 
226
 
227
  with demo:
228
+ with gr.Row():
229
+ gr.Image("./assets/logo.png", height="200px", width="200px", scale=0.1,
230
+ show_download_button=False, container=False)
231
+ gr.HTML(TITLE, elem_id="title")
232
 
233
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
234
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
src/display/about.py CHANGED
@@ -1,7 +1,7 @@
1
  # from src.display.utils import ModelType
2
 
3
  TITLE = """
4
- <h1 align="center" id="space-title">GTBench: Uncovering the Strategic Reasoning Limitation of LLMs via Game-Theoretic Evaluations</h1>"""
5
 
6
  INTRODUCTION_TEXT = """
7
  GTBench aims to evaluate and rank LLMs’ reasoning abilities in competitive environments through game-theoretic tasks, e.g., board and card games.
 
1
  # from src.display.utils import ModelType
2
 
3
  TITLE = """
4
+ <h1 id="space-title">GTBench: Uncovering the Strategic Reasoning Limitation of LLMs via<br> Game-Theoretic Evaluations</h1>"""
5
 
6
  INTRODUCTION_TEXT = """
7
  GTBench aims to evaluate and rank LLMs’ reasoning abilities in competitive environments through game-theoretic tasks, e.g., board and card games.
src/display/css_html_js.py CHANGED
@@ -96,6 +96,13 @@ table th:first-child {
96
  #box-filter > .form{
97
  border: 0
98
  }
 
 
 
 
 
 
 
99
  """
100
 
101
  get_window_url_params = """
 
96
  #box-filter > .form{
97
  border: 0
98
  }
99
+ #title{
100
+ margin-top: 110px
101
+ text-align: left;
102
+ display: flex;
103
+ justify-content: flex-start;
104
+ align-items: center;
105
+ }
106
  """
107
 
108
  get_window_url_params = """