Commit
·
9fef59c
1
Parent(s):
0b7bbfd
Fix ONE TRAJECTORY metadata accordion open by default (v0.3.45)
Browse files
app.py
CHANGED
|
@@ -1839,7 +1839,7 @@ def build_app():
|
|
| 1839 |
""")
|
| 1840 |
trajectories_state = gr.State(None)
|
| 1841 |
|
| 1842 |
-
gr.Markdown("# 🧮 SWE-bench Costs Calculator `v0.3.
|
| 1843 |
gr.Markdown("### *Calculate cost savings with different routing strategies.*")
|
| 1844 |
gr.Markdown("## 🎯 Select a base model for cost analysis (click a row)")
|
| 1845 |
|
|
@@ -1872,7 +1872,7 @@ def build_app():
|
|
| 1872 |
with gr.Row():
|
| 1873 |
plot_cost_breakdown_meta = gr.Plot(label="Cost per Trajectory")
|
| 1874 |
|
| 1875 |
-
with gr.Accordion("Token counts REPORTED in the metadata of .traj files [ONE TRAJECTORY]", open=
|
| 1876 |
with gr.Row():
|
| 1877 |
single_traj_meta_dropdown = gr.Dropdown(label="Select Issue", choices=[], interactive=True)
|
| 1878 |
with gr.Row():
|
|
|
|
| 1839 |
""")
|
| 1840 |
trajectories_state = gr.State(None)
|
| 1841 |
|
| 1842 |
+
gr.Markdown("# 🧮 SWE-bench Costs Calculator `v0.3.45`")
|
| 1843 |
gr.Markdown("### *Calculate cost savings with different routing strategies.*")
|
| 1844 |
gr.Markdown("## 🎯 Select a base model for cost analysis (click a row)")
|
| 1845 |
|
|
|
|
| 1872 |
with gr.Row():
|
| 1873 |
plot_cost_breakdown_meta = gr.Plot(label="Cost per Trajectory")
|
| 1874 |
|
| 1875 |
+
with gr.Accordion("Token counts REPORTED in the metadata of .traj files [ONE TRAJECTORY]", open=True, visible=False) as single_traj_meta_accordion:
|
| 1876 |
with gr.Row():
|
| 1877 |
single_traj_meta_dropdown = gr.Dropdown(label="Select Issue", choices=[], interactive=True)
|
| 1878 |
with gr.Row():
|