kostis-init commited on
Commit
2862155
Β·
1 Parent(s): a99b397

add new submission tab

Browse files
Files changed (2) hide show
  1. app.py +16 -1
  2. src/about.py +1 -1
app.py CHANGED
@@ -101,7 +101,22 @@ with demo:
101
  with gr.TabItem("πŸ“ About", elem_id="llm-benchmark-tab-table", id=2):
102
  gr.Markdown(LLM_BENCHMARKS_TEXT, elem_classes="markdown-text")
103
 
104
- with gr.TabItem("πŸš€ Submit here! ", elem_id="llm-benchmark-tab-table", id=3):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  with gr.Column():
106
  with gr.Row():
107
  gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
 
101
  with gr.TabItem("πŸ“ About", elem_id="llm-benchmark-tab-table", id=2):
102
  gr.Markdown(LLM_BENCHMARKS_TEXT, elem_classes="markdown-text")
103
 
104
+ with gr.TabItem("πŸš€ Simple Submit here!", elem_id="llm-benchmark-tab-table", id=4):
105
+ # in this tab, we will have a simple submit button accepting multiple files (or a folder)
106
+ gr.Markdown(
107
+ "## Submit your generated models here! (for now, only a few models are supported)",
108
+ elem_classes="markdown-text",
109
+ )
110
+ # upload
111
+ gr.UploadButton(
112
+ label="Upload your generated models",
113
+ size="lg",
114
+ file_count="multiple",
115
+ )
116
+
117
+
118
+
119
+ with gr.TabItem("πŸš€ Submit here!", elem_id="llm-benchmark-tab-table", id=3):
120
  with gr.Column():
121
  with gr.Row():
122
  gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
src/about.py CHANGED
@@ -25,7 +25,7 @@ TITLE = """<h1 align="center" id="space-title">CP-Bench leaderboard</h1>"""
25
 
26
  # What does your leaderboard evaluate?
27
  INTRODUCTION_TEXT = """
28
- # Welcome to the CP-Bench leaderboard, a benchmark for evaluating the performance of LLMs on constraint modelling.
29
  """
30
 
31
  # Which evaluations are you running? how can people reproduce what you have?
 
25
 
26
  # What does your leaderboard evaluate?
27
  INTRODUCTION_TEXT = """
28
+ ## Welcome to the CP-Bench leaderboard, a benchmark for evaluating the performance of LLMs on constraint modelling.
29
  """
30
 
31
  # Which evaluations are you running? how can people reproduce what you have?