ha251 commited on
Commit
c8a476b
·
verified ·
1 Parent(s): 56d3435

Update miniapp_leaderboard.py

Browse files
Files changed (1) hide show
  1. miniapp_leaderboard.py +18 -4
miniapp_leaderboard.py CHANGED
@@ -167,10 +167,24 @@ with gr.Blocks(title=f"{APP_NAME} leaderboard") as demo:
167
  refresh_btn = gr.Button("Refresh")
168
 
169
 
170
- gr.Markdown("## Submit (login required)")
171
- model_name = gr.Textbox(label="Model name")
172
- model_family = gr.Textbox(label="Model family")
173
- zip_file = gr.File(label="Upload zip", file_types=[".zip"])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
 
175
  # ✅ 同一行:左登录,右提交
176
  with gr.Row():
 
167
  refresh_btn = gr.Button("Refresh")
168
 
169
 
170
+ gr.Markdown("## Submit")
171
+
172
+ gr.Markdown(
173
+ """
174
+ **Submission requirements**
175
+ - Please **sign in with Hugging Face** before submitting.
176
+ - **One submission per user per day** (UTC).
177
+ - Upload a **.zip** file only.
178
+ - The `.zip` must contain the HTML outputs for the **test set queries**.
179
+ - Each file should be named using the query index: `<index>.html` (e.g., `1.html`, `2.html`, ...).
180
+ - After you submit, we will update the result in 3 days.
181
+ """,
182
+ )
183
+
184
+ model_name = gr.Textbox(label="Model name", placeholder="e.g. MyModel v1")
185
+ model_family = gr.Textbox(label="Model family", placeholder="e.g. Llama / Qwen / InternLM ...")
186
+ zip_file = gr.File(label="Upload zip (.zip only)", file_types=[".zip"])
187
+
188
 
189
  # ✅ 同一行:左登录,右提交
190
  with gr.Row():