Download app.py from smyr-dc/mt: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/smyr-dc/mt/resolve/main/app.py
- Command line
-
hf download hf://spaces/smyr-dc/mt/app.py
-
curl -L -o app.py https://huggingface.co/spaces/smyr-dc/mt/resolve/main/app.py
451 Bytes
| import streamlit as st | |
| import pickle | |
| st.title('Tecrube,yazili ve sozlu sinava gore maas tahmin eden model :money_mouth_face:') | |
| model=pickle.load(open('maas.pkl','rb')) | |
| tecrube=st.number_input('Tecrube',1,10) | |
| yazili=st.number_input('yazili',1,10) | |
| mulakat=st.number_input('mulakat',1,10) | |
| if st.button('tahmin et'): | |
| tahmin=model.predict([[tecrube,yazili,mulakat]]) | |
| tahmin=round(tahmin[0][0],2) | |
| st.success(f'Maas Tahmini:{tahmin}') | |