Spaces:
Sleeping
Sleeping
Kwasiasomani
commited on
Commit
•
11c7e1d
1
Parent(s):
7b9cc31
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ with open('standard_scaler.pkl', 'rb') as scaler_file:
|
|
16 |
#with open('random_forest_model.pkl', 'rb') as model_file:
|
17 |
#model = pickle.load(model_file)
|
18 |
# Load the model
|
19 |
-
model = load('
|
20 |
|
21 |
def predict_fraud(user_input):
|
22 |
user_input_amount = user_input['Amount']
|
|
|
16 |
#with open('random_forest_model.pkl', 'rb') as model_file:
|
17 |
#model = pickle.load(model_file)
|
18 |
# Load the model
|
19 |
+
model = load('model.joblib')
|
20 |
|
21 |
def predict_fraud(user_input):
|
22 |
user_input_amount = user_input['Amount']
|