Update app.py
Browse files
app.py
CHANGED
|
@@ -484,7 +484,7 @@ def compute_gsd_metrics(diams: List[float], passing: List[float]) -> Dict[str, f
|
|
| 484 |
# 4) Session state initialization
|
| 485 |
if "sites" not in st.session_state:
|
| 486 |
# initialize with a default site
|
| 487 |
-
st.session_state["sites"] =
|
| 488 |
# ---------------------------
|
| 489 |
# Basic Project Info
|
| 490 |
# ---------------------------
|
|
@@ -581,7 +581,7 @@ if "sites" not in st.session_state:
|
|
| 581 |
"report_convo_state": 0,
|
| 582 |
"report_missing_fields": [],
|
| 583 |
"report_answers": {}
|
| 584 |
-
}
|
| 585 |
|
| 586 |
|
| 587 |
if "active_site" not in st.session_state:
|
|
|
|
| 484 |
# 4) Session state initialization
|
| 485 |
if "sites" not in st.session_state:
|
| 486 |
# initialize with a default site
|
| 487 |
+
st.session_state["sites"] = ({
|
| 488 |
# ---------------------------
|
| 489 |
# Basic Project Info
|
| 490 |
# ---------------------------
|
|
|
|
| 581 |
"report_convo_state": 0,
|
| 582 |
"report_missing_fields": [],
|
| 583 |
"report_answers": {}
|
| 584 |
+
})
|
| 585 |
|
| 586 |
|
| 587 |
if "active_site" not in st.session_state:
|