mt / app.py
halilkirisci's picture
Rename app3.py to app.py
a998334 verified
Raw History Blame Contribute Delete
468 Bytes
import streamlit as st
import pickle
st.title('Tecrübe, Yazılı ve sözlü sınava göre maaş tahmin eden model :heavy_dollar_sign:')
model= pickle.load(open('maas.pkl','rb'))
tecrube=st.number_input('Tecrübe',1,10)
yazili=st.number_input('Yazili',1,10)
mulakat=st.number_input('Mülakat',1,10)
if st.button('Tahmin Et'):
tahmin=model.predict([[tecrube, yazili,mulakat]])
tahmin=round(tahmin[0][0],2)
st.success(f'Maaş Tahmini:{tahmin}')