Spaces:
Runtime error
Runtime error
Update app.py
Browse files48 unmodified lines4950515252535455545556575758596021 unmodified lines8283848585868788898990919248 unmodified lines model = load_model() # Make a prediction when the user clicks the "Predict" button if st.button('Predict Price'): if st.button('Predict Insurance'): predicted_value = model_prediction(model, features) if "-" in predicted_value: st.success("The Car Price is: 0") if predicted_value==1: st.success("The Travel Insurance is taken by person") else: st.success(f"The Car Price is: {predicted_value}") st.success("The Travel Insurance is not taken by person")
def about_hidevs():21 unmodified lines
# Set the app title and add your website name and logo st.set_page_config( page_title="Car Price Prediction", page_title="Insurance Prediction", page_icon=":chart_with_upwards_trend:", ) st.title("Welcome to our Car Price Prediction App!") st.title("Welcome to our Insurance Prediction App!") app_design() st.header("About HiDevs Community")app.py+6-6