hocuf commited on
Commit
be23d56
1 Parent(s): 2c513f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -1,18 +1,18 @@
1
- import streamlit as st
2
- import pickle
3
-
4
-
5
- st.title('Salary Prediction based on Experience-Exam-Interview :dollar:')
6
-
7
-
8
-
9
- experience = st.number_input('Enter Experience Years: ',1,10)
10
- exam = st.number_input('Enter Exam Results: ',1,10)
11
- interview = st.number_input('Enter Interview Results: ',1,10)
12
-
13
- model=pickle.load(open('data/maas.pkl', 'rb'))
14
- if st.button('Show Salary Prediction'):
15
- result = model.predict([[experience,exam,interview]])
16
- st.divider()
17
- results = round(result[0][0],2)
18
  st.success(f'SALARY PREDICTION: {results}$')
 
1
+ import streamlit as st
2
+ import pickle
3
+
4
+
5
+ st.title('Salary Prediction based on Experience-Exam-Interview :dollar:')
6
+
7
+
8
+
9
+ experience = st.number_input('Enter Experience Years: ',1,10)
10
+ exam = st.number_input('Enter Exam Results: ',1,10)
11
+ interview = st.number_input('Enter Interview Results: ',1,10)
12
+
13
+ model=pickle.load(open('maas.pkl', 'rb'))
14
+ if st.button('Show Salary Prediction'):
15
+ result = model.predict([[experience,exam,interview]])
16
+ st.divider()
17
+ results = round(result[0][0],2)
18
  st.success(f'SALARY PREDICTION: {results}$')