Nra commited on
Commit
7b3344c
·
verified ·
1 Parent(s): 288b00f

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
  3. config.py +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
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
+ # 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
app.py CHANGED
@@ -2,7 +2,7 @@ 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
 
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
config.py CHANGED
@@ -1,4 +1,4 @@
1
- # Common configurations and constants. this has to be created separately
2
- # as the week_2_mls folder doesn not exist at HF
3
 
4
  HF_REPO_ID = "Nra/Machine-Failure-Prediction" # name is case sensitive
 
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