yoonshik1205 commited on
Commit
7036416
1 Parent(s): da544b6

style changes

Browse files
Files changed (2) hide show
  1. .gitignore +2 -0
  2. app.py +10 -3
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ *.ipynb
2
+ __pycache__/
app.py CHANGED
@@ -5,6 +5,11 @@ from content import *
5
 
6
  head_style = """
7
  <style>
 
 
 
 
 
8
  @media (min-width: 1536px)
9
  {
10
  .gradio-container {
@@ -49,6 +54,7 @@ with gr.Blocks(title=f'{benchname} Leaderboard', head=head_style) as demo:
49
  interactive=False,
50
  wrap=True,
51
  visible=True,
 
52
  )
53
 
54
  def filter_df(model_name, model_size, model_type):
@@ -69,6 +75,7 @@ with gr.Blocks(title=f'{benchname} Leaderboard', head=head_style) as demo:
69
  interactive=False,
70
  wrap=True,
71
  visible=True,
 
72
  )
73
  return ret
74
 
@@ -82,9 +89,9 @@ with gr.Blocks(title=f'{benchname} Leaderboard', head=head_style) as demo:
82
  with gr.TabItem('Submit your model', elem_id='submit', id=2):
83
  gr.Markdown(submit_md)
84
 
85
- with gr.Row():
86
- with gr.Accordion('Citation', open=False):
87
- gr.Markdown(citation_md)
88
 
89
 
90
  if __name__=="__main__":
 
5
 
6
  head_style = """
7
  <style>
8
+ .main a {
9
+ color: blue;
10
+ text-decoration: underline;
11
+ }
12
+
13
  @media (min-width: 1536px)
14
  {
15
  .gradio-container {
 
54
  interactive=False,
55
  wrap=True,
56
  visible=True,
57
+ column_widths=[130 for _ in headers],
58
  )
59
 
60
  def filter_df(model_name, model_size, model_type):
 
75
  interactive=False,
76
  wrap=True,
77
  visible=True,
78
+ column_widths=[130 for _ in headers],
79
  )
80
  return ret
81
 
 
89
  with gr.TabItem('Submit your model', elem_id='submit', id=2):
90
  gr.Markdown(submit_md)
91
 
92
+ # with gr.Row():
93
+ # with gr.Accordion('Citation', open=False):
94
+ # gr.Markdown(citation_md)
95
 
96
 
97
  if __name__=="__main__":