Peter512 commited on
Commit
97f1dfd
·
verified ·
1 Parent(s): e30b99f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -16
app.py CHANGED
@@ -693,19 +693,20 @@ if st.session_state.get('has_prediction', False):
693
  """)
694
 
695
  else:
696
- # Show welcome message when no prediction
697
- st.info("👈 **Get Started**: Fill in the developer profile in the sidebar and click 'Predict Salary' to see results!")
698
-
699
- col1, col2, col3 = st.columns(3)
700
-
701
- with col1:
702
- st.markdown("### 🎯 Step 1")
703
- st.write("Enter personal information (age, experience, country)")
704
-
705
- with col2:
706
- st.markdown("### 💼 Step 2")
707
- st.write("Add professional details (role, education, company)")
708
-
709
- with col3:
710
- st.markdown("### 🔮 Step 3")
711
- st.write("Click 'Predict Salary' to see your estimate!")
 
 
693
  """)
694
 
695
  else:
696
+ # Only show the instructions when no prediction has been made
697
+ if not st.session_state.get('has_prediction', False):
698
+ st.info("👈 **Get Started**: Fill in the developer profile in the sidebar and click 'Predict Salary' to see results!")
699
+
700
+ col1, col2, col3 = st.columns(3)
701
+
702
+ with col1:
703
+ st.markdown("### 🎯 Step 1")
704
+ st.write("Enter personal information (age, experience, country)")
705
+
706
+ with col2:
707
+ st.markdown("### 💼 Step 2")
708
+ st.write("Add professional details (role, education, company)")
709
+
710
+ with col3:
711
+ st.markdown("### 🔮 Step 3")
712
+ st.write("Click 'Predict Salary' to see your estimate!")