mtt / app.py
sedefiizm's picture
Rename app3.py to app.py
83a0ed3 verified
raw
history blame contribute delete
488 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('Yazılı', 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], 2)
st.success(f'Maaş Tahmini: {tahmin}')