Skip to content

Commit

Permalink
Bugfix init session state
Browse files Browse the repository at this point in the history
  • Loading branch information
dschiese committed Aug 29, 2024
1 parent bd07a2b commit 169b8aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pandas as pd
from decouple import config

BACKEND_URL = config("BACKEND_URL")
BACKEND_URL = "http://localhost:4000"#config("BACKEND_URL")

st.set_page_config(layout="wide")

Expand Down Expand Up @@ -37,6 +37,8 @@
"best": None,
"worst": None
}
if "experiment_selection" not in st.session_state:
st.session_state.experiment_selection = 1.0;

if "hash_explanation_dict" not in st.session_state:
st.session_state.hash_explanation_dict = pd.read_csv("hash_explanation_dict.csv", index_col=0, header=None).to_dict(orient="index");
Expand Down

0 comments on commit 169b8aa

Please sign in to comment.