Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import plotly
|
|
| 6 |
|
| 7 |
def predict_fraud(selected_model, step, transaction_type, amount, oldbalanceOrg):
|
| 8 |
# URL of the Flask API deployed on Heroku
|
| 9 |
-
url = "https://xaifraudsense-04ba19097287.herokuapp.com/
|
| 10 |
|
| 11 |
# Prepare the data in the format expected by the Flask API
|
| 12 |
data = {
|
|
|
|
| 6 |
|
| 7 |
def predict_fraud(selected_model, step, transaction_type, amount, oldbalanceOrg):
|
| 8 |
# URL of the Flask API deployed on Heroku
|
| 9 |
+
url = "https://xaifraudsense-04ba19097287.herokuapp.com/predict_and_explain"
|
| 10 |
|
| 11 |
# Prepare the data in the format expected by the Flask API
|
| 12 |
data = {
|