Muleex12 commited on
Commit
5d64a5e
·
verified ·
1 Parent(s): 51ef06a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import joblib
4
 
5
  app = Flask(__name__)
6
 
7
- joblib.dump(rf_estimator, "model.pkl")
8
 
9
  @app.route('/')
10
  def home():
 
4
 
5
  app = Flask(__name__)
6
 
7
+ model = joblib.load("model.pkl")
8
 
9
  @app.route('/')
10
  def home():