File size: 535 Bytes
be23d56
 
 
 
 
 
 
 
ab0d356
be23d56
 
 
 
 
 
 
 
bfe48c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import streamlit as st
import pickle


st.title('Salary Prediction based on Experience-Exam-Interview :dollar:')



experience = st.number_input('Enter Experience Years: ',1,20)
exam = st.number_input('Enter Exam Results: ',1,10)
interview = st.number_input('Enter Interview Results: ',1,10)

model=pickle.load(open('maas.pkl', 'rb'))
if st.button('Show Salary Prediction'):
    result = model.predict([[experience,exam,interview]])
    st.divider()
    results  = round(result[0][0],2)
    st.success(f'SALARY PREDICTION: {results}$')