Spaces:
Runtime error
Runtime error
ayush-vatsal
commited on
Commit
•
6129699
1
Parent(s):
3550152
Update app.py
Browse files
app.py
CHANGED
@@ -95,12 +95,12 @@ if (input_list[13] == "Manual"):
|
|
95 |
input_list.insert(14, 1)
|
96 |
|
97 |
df = pd.DataFrame(input_list)
|
98 |
-
model = get_model()
|
99 |
-
res = model.predict(df.T)[0].round(4)
|
100 |
|
101 |
with model_train:
|
102 |
disp = st.columns(5)
|
103 |
pred_button = disp[2].button('Evaluate price')
|
104 |
if pred_button:
|
|
|
|
|
105 |
with st.spinner():
|
106 |
st.write(f'#### Evaluated price of the car(in lakhs): ₹ {res:,.4f}')
|
|
|
95 |
input_list.insert(14, 1)
|
96 |
|
97 |
df = pd.DataFrame(input_list)
|
|
|
|
|
98 |
|
99 |
with model_train:
|
100 |
disp = st.columns(5)
|
101 |
pred_button = disp[2].button('Evaluate price')
|
102 |
if pred_button:
|
103 |
+
model = get_model()
|
104 |
+
res = model.predict(df.T)[0].round(4)
|
105 |
with st.spinner():
|
106 |
st.write(f'#### Evaluated price of the car(in lakhs): ₹ {res:,.4f}')
|