Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
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 |
|