Spaces:
Runtime error
Runtime error
Shrikrishna
commited on
Commit
•
a69d0b0
1
Parent(s):
4d5bda6
Update app.py
Browse files
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.
|
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]))))
|
|