Sonny4Sonnix commited on
Commit
914bf6f
·
verified ·
1 Parent(s): 332ccdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -3,6 +3,10 @@ import streamlit as st
3
  import pandas as pd
4
  import joblib
5
 
 
 
 
 
6
  # Load and preprocess data (example with dummy data)
7
  def load_data():
8
  data = {
@@ -23,8 +27,7 @@ def load_data():
23
  }
24
  return pd.DataFrame(data)
25
 
26
- # Load the model
27
- model = joblib.load('HistGradientBoostingClassifier.joblib')
28
 
29
  # Streamlit app
30
  st.title('Term Deposit Subscription Predictor')
 
3
  import pandas as pd
4
  import joblib
5
 
6
+ # Load the model
7
+ model = joblib.load('HistGradientBoostingClassifier.joblib')
8
+
9
+
10
  # Load and preprocess data (example with dummy data)
11
  def load_data():
12
  data = {
 
27
  }
28
  return pd.DataFrame(data)
29
 
30
+
 
31
 
32
  # Streamlit app
33
  st.title('Term Deposit Subscription Predictor')