diff --git a/Python/LaptopPriceApp.py b/Python/LaptopPriceApp.py new file mode 100644 index 0000000..1136ac9 --- /dev/null +++ b/Python/LaptopPriceApp.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +""" +Created on Fri Sep 10 18:20:12 2021 + +@author: ankit +""" + +import streamlit as st +import pickle +import numpy as np +model=pickle.load(open("model.pkl","rb")) + +def predict_price(Manufacturer,IntelCore,Ram,HDD,SSD): + prediction=model.predict([[Manufacturer,IntelCore,Ram,HDD,SSD]]) + print(prediction.round()) + return prediction + +def main(): + st.title("Streamlit Tutorial") + html_temp = """ +