Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,8 @@ def predict_fraud(selected_model, selected_interpretability_method, step, transa
|
|
18 |
if oldbalanceOrg is None: # Assuming oldbalanceOrg is a numerical value, check for None explicitly
|
19 |
return "Old Balance Org is required.", None, None, None, None, None, None, None, None, None, None
|
20 |
|
21 |
-
url = "https://fraud-sense-16a8ed5f96b5.herokuapp.com/predict_and_explain"
|
|
|
22 |
data = {
|
23 |
'selected_model': selected_model,
|
24 |
'selected_interpretability_method': selected_interpretability_method,
|
|
|
18 |
if oldbalanceOrg is None: # Assuming oldbalanceOrg is a numerical value, check for None explicitly
|
19 |
return "Old Balance Org is required.", None, None, None, None, None, None, None, None, None, None
|
20 |
|
21 |
+
#url = "https://fraud-sense-16a8ed5f96b5.herokuapp.com/predict_and_explain"
|
22 |
+
url = "https://fraudsense-02168c9829aa.herokuapp.com/predict_and_explain"
|
23 |
data = {
|
24 |
'selected_model': selected_model,
|
25 |
'selected_interpretability_method': selected_interpretability_method,
|