Nra commited on
Commit
5f894cc
·
verified ·
1 Parent(s): 85c9c09

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
  3. config.py +2 -2
  4. requirements.txt +1 -0
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # (nra_upd_02)
2
- # Use a minimal base image with Python 3.9 installed.
3
  FROM python:3.9
4
 
5
  # Set the working directory inside the container to /app
 
1
  # (nra_upd_02)
2
+ # Use a minimal base image with Python 3.9 installed
3
  FROM python:3.9
4
 
5
  # Set the working directory inside the container to /app
app.py CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
3
  import pandas as pd
4
  from huggingface_hub import hf_hub_download
5
  import joblib
6
- from config import HF_REPO_ID #this doesnt work and the reference is not found on HF run.
7
 
8
 
9
  # HF_REPO_ID = "Nra/Machine-Failure-Prediction" # name is case sensitive
 
3
  import pandas as pd
4
  from huggingface_hub import hf_hub_download
5
  import joblib
6
+ from config import HF_REPO_ID #this doesnt work and the reference is not found on HF run
7
 
8
 
9
  # HF_REPO_ID = "Nra/Machine-Failure-Prediction" # name is case sensitive
config.py CHANGED
@@ -1,5 +1,5 @@
1
  # (nra_upd_02)
2
- # Common configurations and constants. this has to be created separately.
3
- # as the week_2_mls folder doesn not exist at HF
4
 
5
  HF_REPO_ID = "Nra/Machine-Failure-Prediction" # name is case sensitive
 
1
  # (nra_upd_02)
2
+ # Common configurations and constants. this has to be created separately
3
+ # as the week_3_mls folder doesn not exist at HF
4
 
5
  HF_REPO_ID = "Nra/Machine-Failure-Prediction" # name is case sensitive
requirements.txt CHANGED
@@ -5,3 +5,4 @@ streamlit==1.43.2
5
  joblib==1.5.1
6
  scikit-learn==1.6.0
7
  xgboost==2.1.4
 
 
5
  joblib==1.5.1
6
  scikit-learn==1.6.0
7
  xgboost==2.1.4
8
+ mlflow==3.0.1