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

Upload folder using huggingface_hub

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