DontPlanToEnd commited on
Commit
f5fe33d
·
verified ·
1 Parent(s): 0d98d92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -97,9 +97,9 @@ PRESET_OPTIONS = {
97
 
98
  # Define other toggleable columns that are not part of presets
99
  OTHER_TOGGLES = {
 
100
  "Prompt Template": "Template",
101
  "Architecture": "Architecture",
102
- "Active Parameters": "Active Params",
103
  "Avg Thinking Chars": "Avg Thinking Chars"
104
  }
105
 
@@ -930,8 +930,6 @@ ALL_COLUMN_DEFS = {
930
  },
931
 
932
  # --- Other Toggles ---
933
- "Prompt Template": create_text_column("Prompt Template", width=160, filterParams={"defaultOption": "contains"}),
934
- "Architecture": create_text_column("Architecture", width=160, filterParams={"defaultOption": "contains"}),
935
  "Active Parameters": create_numeric_column(
936
  "Active Parameters",
937
  headerName="#AP",
@@ -939,6 +937,8 @@ ALL_COLUMN_DEFS = {
939
  filterParams={"defaultOption": "equals"},
940
  cellClass="ag-right-aligned-cell"
941
  ),
 
 
942
  "Avg Thinking Chars": create_numeric_column("Avg Thinking Chars", width=120, filterParams={"defaultOption": "greaterThanOrEqual"}, valueFormatter={"function": "params.value === 0 ? '' : params.value"}),
943
  }
944
 
 
97
 
98
  # Define other toggleable columns that are not part of presets
99
  OTHER_TOGGLES = {
100
+ "Active Parameters": "Active Params",
101
  "Prompt Template": "Template",
102
  "Architecture": "Architecture",
 
103
  "Avg Thinking Chars": "Avg Thinking Chars"
104
  }
105
 
 
930
  },
931
 
932
  # --- Other Toggles ---
 
 
933
  "Active Parameters": create_numeric_column(
934
  "Active Parameters",
935
  headerName="#AP",
 
937
  filterParams={"defaultOption": "equals"},
938
  cellClass="ag-right-aligned-cell"
939
  ),
940
+ "Prompt Template": create_text_column("Prompt Template", width=160, filterParams={"defaultOption": "contains"}),
941
+ "Architecture": create_text_column("Architecture", width=160, filterParams={"defaultOption": "contains"}),
942
  "Avg Thinking Chars": create_numeric_column("Avg Thinking Chars", width=120, filterParams={"defaultOption": "greaterThanOrEqual"}, valueFormatter={"function": "params.value === 0 ? '' : params.value"}),
943
  }
944