Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Initialize Flask app
|
| 2 |
sales_revenue_predictor_api = Flask("Sales Revenue Predictor")
|
| 3 |
|
|
|
|
| 1 |
+
# Import necessary libraries
|
| 2 |
+
import numpy as np
|
| 3 |
+
import joblib # For loading the serialized model
|
| 4 |
+
import pandas as pd # For data manipulation
|
| 5 |
+
from flask import Flask, request, jsonify # For creating the Flask API
|
| 6 |
# Initialize Flask app
|
| 7 |
sales_revenue_predictor_api = Flask("Sales Revenue Predictor")
|
| 8 |
|