Spaces:
Runtime error
Runtime error
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -380,8 +380,9 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
380 |
|
381 |
|
382 |
# Add download button
|
|
|
383 |
download_button = gr.Button("Download", link="/file=material/test.txt")
|
384 |
-
|
385 |
# Add the button to your existing interface
|
386 |
# This depends on how your interface is structured, but here's an example
|
387 |
with gr.Blocks() as demo:
|
|
|
380 |
|
381 |
|
382 |
# Add download button
|
383 |
+
import gradio as gr
|
384 |
download_button = gr.Button("Download", link="/file=material/test.txt")
|
385 |
+
|
386 |
# Add the button to your existing interface
|
387 |
# This depends on how your interface is structured, but here's an example
|
388 |
with gr.Blocks() as demo:
|