ccwizard commited on
Commit
84c5000
·
verified ·
1 Parent(s): 6382c3a

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM python:3.9-slim
4
  WORKDIR /app
5
 
6
  # Copy all files from the current directory to the container's working directory
7
- COPY /content/drive/MyDrive/Colab Notebooks/Module 7 - Model Deployment/Project/rf/backend_files/* .
8
 
9
  # Install dependencies from the requirements file without using cache to reduce image size
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
4
  WORKDIR /app
5
 
6
  # Copy all files from the current directory to the container's working directory
7
+ COPY /content/drive/MyDrive/Models/SuperKart/rf/backend_files/* .
8
 
9
  # Install dependencies from the requirements file without using cache to reduce image size
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
app.py CHANGED
@@ -3,7 +3,7 @@
3
  rf_superkart_prediction_api = Flask("SuperKart Sales Prediction with Random Forest")
4
 
5
  # Load the trained machine learning model
6
- rf_model = joblib.load("/content/drive/MyDrive/Colab Notebooks/Module 7 - Model Deployment/Projectrf/backend_files/superkart_sales_prediction_model_v1_0.joblib")
7
 
8
  # Define a route for the home page (GET request)
9
  @rf_superkart_prediction_api.get('/')
 
3
  rf_superkart_prediction_api = Flask("SuperKart Sales Prediction with Random Forest")
4
 
5
  # Load the trained machine learning model
6
+ rf_model = joblib.load("/content/drive/MyDrive/Models/SuperKart/rf/backend_files/superkart_sales_prediction_model_v1_0.joblib")
7
 
8
  # Define a route for the home page (GET request)
9
  @rf_superkart_prediction_api.get('/')