Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from flask import Flask, request, jsonify # For creating the Flask API
|
|
| 9 |
superkart_api = Flask("SuperKartSalesPredictor") #Complete the code to define the name of the app
|
| 10 |
|
| 11 |
# Load the trained churn prediction model
|
| 12 |
-
model = joblib.load("
|
| 13 |
|
| 14 |
# Define a route for the home page
|
| 15 |
@superkart_api.get('/')
|
|
|
|
| 9 |
superkart_api = Flask("SuperKartSalesPredictor") #Complete the code to define the name of the app
|
| 10 |
|
| 11 |
# Load the trained churn prediction model
|
| 12 |
+
model = joblib.load("xgb_tuned_model_pipeline.joblib") #Complete the code to define the location of the serialized model
|
| 13 |
|
| 14 |
# Define a route for the home page
|
| 15 |
@superkart_api.get('/')
|