shaheer-data commited on
Commit
a820da6
·
verified ·
1 Parent(s): 9f9bbdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -8,11 +8,12 @@ from huggingface_hub import hf_hub_download
8
  # Title of the Streamlit app
9
  st.title("Yellow Rust Severity Prediction")
10
 
11
-
 
12
 
13
 
14
  # Download the model file from Hugging Face
15
- model_path = hf_hub_download(repo_id="shaheer-data/Yellow-Rust-Prediction", filename="final_meta_model.keras",use_auth_token=YellowRust)
16
 
17
 
18
 
 
8
  # Title of the Streamlit app
9
  st.title("Yellow Rust Severity Prediction")
10
 
11
+ from huggingface_hub import login
12
+ login(token=YellowRust)
13
 
14
 
15
  # Download the model file from Hugging Face
16
+ model_path = hf_hub_download(repo_id="shaheer-data/Yellow-Rust-Prediction", filename="final_meta_model.keras")
17
 
18
 
19