Synav commited on
Commit
5aab057
·
verified ·
1 Parent(s): 94f18d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1467,10 +1467,7 @@ with tab_predict:
1467
 
1468
 
1469
 
1470
- # Age + key dates are handled by DOB/Dx inputs, not generic UI
1471
 
1472
- if "Date of 1st CR" in feature_cols:
1473
- TAB_MANAGED_FIELDS.add("Date of 1st CR")
1474
 
1475
 
1476
  def get_options_from_df(df: pd.DataFrame, col: str) -> list[str]:
@@ -1519,6 +1516,11 @@ with tab_predict:
1519
  TAB_MANAGED_FIELDS.add(NGS_COUNT_COL)
1520
 
1521
 
 
 
 
 
 
1522
  # ---------------------------
1523
  # Inference Excel (optional) - store in session_state for dropdown options
1524
  # ---------------------------
 
1467
 
1468
 
1469
 
 
1470
 
 
 
1471
 
1472
 
1473
  def get_options_from_df(df: pd.DataFrame, col: str) -> list[str]:
 
1516
  TAB_MANAGED_FIELDS.add(NGS_COUNT_COL)
1517
 
1518
 
1519
+ # Age + key dates are handled by DOB/Dx inputs, not generic UI
1520
+
1521
+ if "Date of 1st CR" in feature_cols:
1522
+ TAB_MANAGED_FIELDS.add("Date of 1st CR")
1523
+
1524
  # ---------------------------
1525
  # Inference Excel (optional) - store in session_state for dropdown options
1526
  # ---------------------------