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