shaheer-data commited on
Commit
19d3a8a
·
verified ·
1 Parent(s): fe5c7f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -8,7 +8,10 @@ from huggingface_hub import hf_hub_download
8
  # Title of the Streamlit app
9
  st.title("Yellow Rust Severity Prediction")
10
 
11
- notebook_login()
 
 
 
12
 
13
 
14
  # Download the model file from Hugging Face
 
8
  # Title of the Streamlit app
9
  st.title("Yellow Rust Severity Prediction")
10
 
11
+ authkey= os.getenv('YellowRust')
12
+ from huggingface_hub import login
13
+
14
+ login(token=authkey)
15
 
16
 
17
  # Download the model file from Hugging Face