Nra commited on
Commit
b41798f
·
verified ·
1 Parent(s): 9a8de98

removed the import for HF_REPO_ID and hard coded it

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2,7 +2,9 @@ import streamlit as st
2
  import pandas as pd
3
  from huggingface_hub import hf_hub_download
4
  import joblib
5
- from week_2_mls.config import HF_REPO_ID
 
 
6
 
7
  # Download and load the model
8
  model_path = hf_hub_download(repo_id=HF_REPO_ID, filename="best_machine_failure_model_v1.joblib") # repo_id is case-sensitive
 
2
  import pandas as pd
3
  from huggingface_hub import hf_hub_download
4
  import joblib
5
+
6
+
7
+ HF_REPO_ID = "Nra/Machine-Failure-Prediction" # name is case sensitive
8
 
9
  # Download and load the model
10
  model_path = hf_hub_download(repo_id=HF_REPO_ID, filename="best_machine_failure_model_v1.joblib") # repo_id is case-sensitive