entropy25 commited on
Commit
011fc87
·
verified ·
1 Parent(s): be87969

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -114,8 +114,8 @@ def main():
114
  with st.sidebar:
115
  st.header("🎯 Analysis Progress")
116
 
117
- # Progress indicator
118
- progress_value = st.session_state.current_stage / 5
119
  st.progress(progress_value)
120
  st.write(f"Stage {st.session_state.current_stage} of 5")
121
 
 
114
  with st.sidebar:
115
  st.header("🎯 Analysis Progress")
116
 
117
+ # Progress indicator - Fixed to prevent values > 1.0
118
+ progress_value = min(st.session_state.current_stage / 5, 1.0)
119
  st.progress(progress_value)
120
  st.write(f"Stage {st.session_state.current_stage} of 5")
121