Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
picaultj committed Dec 23, 2024
1 parent 4b44aca commit 90a764a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bertrend/demos/weak_signals/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ def main():
with tab2:
st.header("Model Training")

if not SessionStateManager.get("data_embedded", False):
st.warning(
"Please embed data and train models before proceeding to analysis."
)
st.stop()

# Select granularity
st.number_input(
"Select Granularity",
Expand Down

0 comments on commit 90a764a

Please sign in to comment.