HassanDataSci commited on
Commit
fb4422e
·
verified ·
1 Parent(s): a27e928

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
4
  import os
5
 
6
  # Hugging Face token login (add this as a secret in Hugging Face Spaces)
7
- os.environ["HF_TOKEN"] = st.secrets["HF_TOKEN"]
8
 
9
  # Load the image classification pipeline
10
  @st.cache_resource
 
4
  import os
5
 
6
  # Hugging Face token login (add this as a secret in Hugging Face Spaces)
7
+ os.environ["HF_TOKEN"] = st.secrets["HF_AUTH_TOKEN"]
8
 
9
  # Load the image classification pipeline
10
  @st.cache_resource