ccwizard commited on
Commit
e7f923f
·
verified ·
1 Parent(s): a924a37

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,4 +1,10 @@
1
 
 
 
 
 
 
 
2
  # Initialize the Flask application
3
  rf_superkart_prediction_api = Flask("SuperKart Sales Prediction with Random Forest")
4
 
 
1
 
2
+ # Import necessary libraries
3
+ import numpy as np
4
+ import joblib # For loading the serialized model
5
+ import pandas as pd # For data manipulation
6
+ from flask import Flask, request, jsonify # For creating the Flask API
7
+
8
  # Initialize the Flask application
9
  rf_superkart_prediction_api = Flask("SuperKart Sales Prediction with Random Forest")
10