Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def main():
|
|
47 |
safety = st.selectbox('Estimated safety of the car', unique_safety)
|
48 |
|
49 |
# clicked==True only when the button is clicked
|
50 |
-
clicked = st.form_submit_button("Predict
|
51 |
if clicked:
|
52 |
result=model.predict(pd.DataFrame({"buying": [buy_dict[buy]],
|
53 |
"maintenance": [maint_dict[maint]],
|
|
|
47 |
safety = st.selectbox('Estimated safety of the car', unique_safety)
|
48 |
|
49 |
# clicked==True only when the button is clicked
|
50 |
+
clicked = st.form_submit_button("Predict evaluation")
|
51 |
if clicked:
|
52 |
result=model.predict(pd.DataFrame({"buying": [buy_dict[buy]],
|
53 |
"maintenance": [maint_dict[maint]],
|