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 |
rf_superkart_prediction_api = Flask("SuperKart Sales Prediction with Random Forest")
|
| 10 |
|
| 11 |
# Load the trained machine learning model
|
| 12 |
-
rf_model = joblib.load("
|
| 13 |
|
| 14 |
# Define a route for the home page (GET request)
|
| 15 |
@rf_superkart_prediction_api.get('/')
|
|
|
|
| 9 |
rf_superkart_prediction_api = Flask("SuperKart Sales Prediction with Random Forest")
|
| 10 |
|
| 11 |
# Load the trained machine learning model
|
| 12 |
+
rf_model = joblib.load("backend_files/superkart_sales_prediction_model_v1_0.joblib")
|
| 13 |
|
| 14 |
# Define a route for the home page (GET request)
|
| 15 |
@rf_superkart_prediction_api.get('/')
|