Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -7,8 +7,8 @@ from flask import Flask, request, jsonify # For creating the Flask API
|
|
| 7 |
# Initialize the Flask application
|
| 8 |
store_sales_predictor_api = Flask("SuperKart Store Sales Predictor")
|
| 9 |
|
| 10 |
-
# Load the trained machine learning model
|
| 11 |
-
model = joblib.load("
|
| 12 |
|
| 13 |
# Define a route for the home page (GET request)
|
| 14 |
@store_sales_predictor_api.get('/')
|
|
|
|
| 7 |
# Initialize the Flask application
|
| 8 |
store_sales_predictor_api = Flask("SuperKart Store Sales Predictor")
|
| 9 |
|
| 10 |
+
# Load the trained machine learning model SuperKart_Project_model_v1_0.joblib
|
| 11 |
+
model = joblib.load("")
|
| 12 |
|
| 13 |
# Define a route for the home page (GET request)
|
| 14 |
@store_sales_predictor_api.get('/')
|