IgorSlinko commited on
Commit
b8e0bce
ยท
1 Parent(s): bc80799

Move routing explanation text, increase description font (v0.3.42)

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1839,8 +1839,8 @@ def build_app():
1839
  """)
1840
  trajectories_state = gr.State(None)
1841
 
1842
- gr.Markdown("# ๐Ÿงฎ SWE-bench analytics tool `v0.3.41`")
1843
- gr.Markdown("*Calculate cost savings with different routing strategies.*")
1844
  gr.Markdown("## ๐ŸŽฏ Select a base model for cost analysis (click a row)")
1845
 
1846
  with gr.Row():
@@ -1900,10 +1900,10 @@ def build_app():
1900
  single_traj_cost_plot = gr.Plot(label="Cost per Step (stacked) ($)")
1901
 
1902
  with gr.Accordion("Token counts CALCULATED from .traj files, with ROUTING [AGGREGATED ALL]", open=True, visible=False) as routing_plots_row:
1903
- gr.Markdown("*With routing all messages in the trajectory remain as they are, but messages that match the selected filters are assigned to selected models for routing to.*")
1904
  with gr.Row():
1905
  routing_tokens_plot = gr.Plot(label="Tokens by Type (per Model)")
1906
  routing_cost_plot = gr.Plot(label="Cost by Type (per Model) ($)")
 
1907
 
1908
  with gr.Column(scale=1):
1909
  selected_folder = gr.State("")
@@ -1938,6 +1938,7 @@ def build_app():
1938
 
1939
  gr.Markdown("---")
1940
  add_routing_btn = gr.Button("โž• Add Routing", variant="primary", visible=False)
 
1941
 
1942
  with gr.Column(visible=False) as routing_section:
1943
  gr.Markdown("### ๐Ÿ”€ Routing Models")
@@ -2089,7 +2090,6 @@ def build_app():
2089
 
2090
  gr.Markdown("---")
2091
  route_btn = gr.Button("๐Ÿš€ Let's ROUTE!!", variant="primary", size="lg", interactive=False)
2092
- gr.Markdown("*With routing all messages in the trajectory remain as they are, but messages that match the selected filters are assigned to selected models for routing to.*")
2093
  routing_result = gr.Markdown(visible=False)
2094
 
2095
 
 
1839
  """)
1840
  trajectories_state = gr.State(None)
1841
 
1842
+ gr.Markdown("# ๐Ÿงฎ SWE-bench analytics tool `v0.3.42`")
1843
+ gr.Markdown("### *Calculate cost savings with different routing strategies.*")
1844
  gr.Markdown("## ๐ŸŽฏ Select a base model for cost analysis (click a row)")
1845
 
1846
  with gr.Row():
 
1900
  single_traj_cost_plot = gr.Plot(label="Cost per Step (stacked) ($)")
1901
 
1902
  with gr.Accordion("Token counts CALCULATED from .traj files, with ROUTING [AGGREGATED ALL]", open=True, visible=False) as routing_plots_row:
 
1903
  with gr.Row():
1904
  routing_tokens_plot = gr.Plot(label="Tokens by Type (per Model)")
1905
  routing_cost_plot = gr.Plot(label="Cost by Type (per Model) ($)")
1906
+ gr.Markdown("*With routing all messages in the trajectory remain as they are, but messages that match the selected filters are assigned to selected models for routing to.*")
1907
 
1908
  with gr.Column(scale=1):
1909
  selected_folder = gr.State("")
 
1938
 
1939
  gr.Markdown("---")
1940
  add_routing_btn = gr.Button("โž• Add Routing", variant="primary", visible=False)
1941
+ gr.Markdown("*With routing all messages in the trajectory remain as they are, but messages that match the selected filters are assigned to selected models for routing to.*")
1942
 
1943
  with gr.Column(visible=False) as routing_section:
1944
  gr.Markdown("### ๐Ÿ”€ Routing Models")
 
2090
 
2091
  gr.Markdown("---")
2092
  route_btn = gr.Button("๐Ÿš€ Let's ROUTE!!", variant="primary", size="lg", interactive=False)
 
2093
  routing_result = gr.Markdown(visible=False)
2094
 
2095