chiichann commited on
Commit
ca85db8
·
verified ·
1 Parent(s): b90bfb9

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -7,7 +7,7 @@ import platform
7
  from tensorflow.keras.preprocessing.image import img_to_array
8
 
9
  # Access Hugging Face token from secrets (set in Hugging Face Spaces settings)
10
- hf_token = st.secrets["HF_TOKEN"]
11
 
12
  # Constants
13
  IMG_SIZE = 128
 
7
  from tensorflow.keras.preprocessing.image import img_to_array
8
 
9
  # Access Hugging Face token from secrets (set in Hugging Face Spaces settings)
10
+ hf_token = os.getenv("HF_TOKEN")
11
 
12
  # Constants
13
  IMG_SIZE = 128