Shrikrishna commited on
Commit
a69d0b0
1 Parent(s): 4d5bda6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -61,8 +61,6 @@ if st.button('Predict Price'):
61
  #st.title(ppi)
62
 
63
  query = np.array([company, type, ram, weight, touchscreen, ips, ppi, cpu, hdd, ssd, gpu, os])
64
- st.title(query)
65
  query = query.reshape(1, 12)
66
- st.title(len(query))
67
- st.title(query)
68
- st.title(np.exp(pipe.predict(query)))
 
61
  #st.title(ppi)
62
 
63
  query = np.array([company, type, ram, weight, touchscreen, ips, ppi, cpu, hdd, ssd, gpu, os])
 
64
  query = query.reshape(1, 12)
65
+ st.header("Predicted price of the Laptop with this configuration is: ")
66
+ st.title("Rs. " + str(int(np.exp(pipe.predict(query)[0]))))