Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -317,12 +317,12 @@ with gr.Blocks() as demo:
|
|
317 |
refresh_btn.click(refresh_leaderboard, outputs=[leaderboard])
|
318 |
|
319 |
with gr.Tab("π¨ Submit Model"):
|
320 |
-
|
321 |
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
|
327 |
|
328 |
# Launch the Gradio interface
|
|
|
317 |
refresh_btn.click(refresh_leaderboard, outputs=[leaderboard])
|
318 |
|
319 |
with gr.Tab("π¨ Submit Model"):
|
320 |
+
gr.Markdown("## π¨ Submit a new model to be added to the chatbot arena!")
|
321 |
|
322 |
+
with gr.Row():
|
323 |
+
model_name_input = gr.Textbox(placeholder="Enter the model name")
|
324 |
+
submit_model_btn = gr.Button(value="Submit Model")
|
325 |
+
submit_model_btn.click(submit_model, inputs=[model_name_input], outputs=[model_name_input])
|
326 |
|
327 |
|
328 |
# Launch the Gradio interface
|