Lebossoti commited on
Commit
443f3af
·
verified ·
1 Parent(s): 6951f62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -744,10 +744,11 @@ elif st.session_state.start_step == "Step 4: Process and Combine Team Info (CSV
744
  )
745
 
746
  # Button to automatically move to Step 5
 
747
  if st.button("Proceed to Step 5: Fetch LinkedIn URLs"):
748
  st.session_state.start_step = "Step 5: Fetch LinkedIn URLs (CSV only)"
749
- #st.experimental_rerun()
750
- raise RerunException(RerunData())
751
 
752
  # STEP 5: Fetch LinkedIn URLs
753
  elif st.session_state.start_step == "Step 5: Fetch LinkedIn URLs (CSV only)":
 
744
  )
745
 
746
  # Button to automatically move to Step 5
747
+ # Button to proceed to Step 5
748
  if st.button("Proceed to Step 5: Fetch LinkedIn URLs"):
749
  st.session_state.start_step = "Step 5: Fetch LinkedIn URLs (CSV only)"
750
+ st.session_state.processed_df = st.session_state.final_res # Pass data to Step 5
751
+ st.experimental_rerun() # Refresh to move to Step 5
752
 
753
  # STEP 5: Fetch LinkedIn URLs
754
  elif st.session_state.start_step == "Step 5: Fetch LinkedIn URLs (CSV only)":