Nra commited on
Commit
ff5f628
·
verified ·
1 Parent(s): 8636c90

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. Dockerfile +2 -2
  2. app.py +2 -2
  3. config.py +3 -3
  4. requirements.txt +1 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- # (nra_upd_01)
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
@@ -1,9 +1,9 @@
1
- # (nra_upd_01)
2
  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
 
1
+ # (nra_upd_02)
2
  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
config.py CHANGED
@@ -1,5 +1,5 @@
1
- # (nra_upd_01)
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
 
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
requirements.txt CHANGED
@@ -1,8 +1,7 @@
1
- # (nra_upd_01)
2
  pandas==2.2.2
3
  huggingface_hub==0.32.6
4
  streamlit==1.43.2
5
  joblib==1.5.1
6
  scikit-learn==1.6.0
7
  xgboost==2.1.4
8
- mlflow==3.0.1
 
1
+ # (nra_upd_02)
2
  pandas==2.2.2
3
  huggingface_hub==0.32.6
4
  streamlit==1.43.2
5
  joblib==1.5.1
6
  scikit-learn==1.6.0
7
  xgboost==2.1.4