CristopherWVSU commited on
Commit
2e49ce7
·
1 Parent(s): 2d74aff

modified app and requirements.txt

Browse files
Files changed (2) hide show
  1. app.py +4 -0
  2. requirements.txt +1 -1
app.py CHANGED
@@ -1,6 +1,10 @@
1
  import streamlit as st
2
  import joblib
3
  import numpy as np
 
 
 
 
4
 
5
  # Load the trained model
6
  model = joblib.load("bank_churn_model.pkl")
 
1
  import streamlit as st
2
  import joblib
3
  import numpy as np
4
+ import os
5
+
6
+ os.system("pip install -r requirements.txt")
7
+
8
 
9
  # Load the trained model
10
  model = joblib.load("bank_churn_model.pkl")
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  streamlit
2
  numpy
3
  pandas
4
- matplotlib.pyplot
5
  seaborn
 
1
  streamlit
2
  numpy
3
  pandas
4
+ matplotlib
5
  seaborn