ggcristian commited on
Commit
388e11b
·
1 Parent(s): 0762cf8

Update buttons

Browse files
Files changed (1) hide show
  1. app.py +28 -16
app.py CHANGED
@@ -93,18 +93,39 @@ function refresh() {
93
 
94
  with gr.Blocks(css=custom_css, js=js_func, theme=gr.themes.Default(primary_hue=colors.emerald)) as app:
95
  df, benchmarks, metrics, default_metric = read_data()
96
- gr.Markdown("""# TuRTLe 🐢 Model Leaderboard""")
97
  gr.HTML("""
98
- <p align="center">
99
  <img src='/gradio_api/file=logo.png' alt='TuRTLe Logo' width='220'/> <br/>
100
  </p>
101
  """)
102
- gr.Markdown("""
103
- Welcome to the TuRTLe Model Leaderboard! Use the filters below to explore different RTL benchmarks and models.<br/>
104
- [GitHub Repository](https://github.com/https://github.com/HPAI-BSC) | [arXiv Preprint](https://arxiv.org/) | [How to submit](https://github.com/https://github.com/HPAI-BSC)<br/>
105
- If you have any inquiries or wish to collaborate: [email protected]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  """)
107
-
108
  with gr.Tabs():
109
  with gr.Tab("Leaderboard"):
110
  with gr.Row():
@@ -129,15 +150,6 @@ with gr.Blocks(css=custom_css, js=js_func, theme=gr.themes.Default(primary_hue=c
129
  interactive=False,
130
  column_widths=["4%", "5%", "28%", "10%", "14%"],)
131
 
132
- with gr.Row():
133
- with gr.Accordion("📙 Citation", open=False):
134
- citation_button = gr.Textbox(
135
- value=CITATION_BUTTON_TEXT,
136
- label=CITATION_BUTTON_LABEL,
137
- lines=20,
138
- elem_id="citation-button",
139
- show_copy_button=True,
140
- )
141
  with gr.Tab("Interactive Bubble Plot"):
142
  with gr.Row():
143
  bubble_benchmark = gr.Radio(choices=benchmarks, label="Select Benchmark", value='VerilogEval S2R')
 
93
 
94
  with gr.Blocks(css=custom_css, js=js_func, theme=gr.themes.Default(primary_hue=colors.emerald)) as app:
95
  df, benchmarks, metrics, default_metric = read_data()
96
+ # gr.Markdown("""# TuRTLe 🐢 Model Leaderboard""")
97
  gr.HTML("""
98
+ <p align="center" style="margin-bottom: -10px;">
99
  <img src='/gradio_api/file=logo.png' alt='TuRTLe Logo' width='220'/> <br/>
100
  </p>
101
  """)
102
+ gr.HTML("""
103
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
104
+ <script defer src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/js/all.min.js"></script>
105
+ <div style="text-align: center; margin-bottom: 15px;">
106
+ <p style="margin-bottom: 15px;">Welcome to the TuRTLe Model Leaderboard! Use the filters below to explore different RTL benchmarks and models.</p>
107
+ <a href="https://github.com/HPAI-BSC" target="_blank" style="text-decoration: none; margin-right: 10px;">
108
+ <button style="background: #333; color: white; padding: 10px 16px; border-radius: 8px; border: none; font-size: 16px; cursor: pointer;">
109
+ <i class="fab fa-github" style="color: white; margin-right: 5px;"></i> GitHub Repo
110
+ </button>
111
+ </a>
112
+
113
+ <a href="https://arxiv.org/" target="_blank" style="text-decoration: none; margin-right: 10px;">
114
+ <button style="background: #b31b1b; color: white; padding: 10px 16px; border-radius: 8px; border: none; font-size: 16px; cursor: pointer;">
115
+ <i class="fas fa-book" style="color: white; margin-right: 5px;"></i> arXiv Preprint
116
+ </button>
117
+ </a>
118
+
119
+ <a href="https://github.com/HPAI-BSC" style="text-decoration: none;">
120
+ <button style="background: #00674F; color: white; padding: 10px 16px; border-radius: 8px; border: none; font-size: 16px; cursor: pointer;">
121
+ <i class="fas fa-bolt" style="color: white; margin-right: 5px;"></i> How to submit
122
+ </button>
123
+ </a>
124
+ <p style="margin-top: 15px;">If you have any inquiries or wish to collaborate:
125
+ <a href="mailto:[email protected]">[email protected]</a>
126
+ </p>
127
+ </div>
128
  """)
 
129
  with gr.Tabs():
130
  with gr.Tab("Leaderboard"):
131
  with gr.Row():
 
150
  interactive=False,
151
  column_widths=["4%", "5%", "28%", "10%", "14%"],)
152
 
 
 
 
 
 
 
 
 
 
153
  with gr.Tab("Interactive Bubble Plot"):
154
  with gr.Row():
155
  bubble_benchmark = gr.Radio(choices=benchmarks, label="Select Benchmark", value='VerilogEval S2R')