Spaces:
Build error
Build error
Update src/components/learning_paths.py
Browse files
src/components/learning_paths.py
CHANGED
|
@@ -20,7 +20,7 @@ class LearningPaths:
|
|
| 20 |
try:
|
| 21 |
self.hf_token = st.secrets.get("HF_TOKEN") or os.getenv('HF_TOKEN')
|
| 22 |
if not self.hf_token:
|
| 23 |
-
st.error("HF_TOKEN not found in secrets or environment variables. Using local storage instead.")
|
| 24 |
self.use_local_storage = True
|
| 25 |
return
|
| 26 |
|
|
|
|
| 20 |
try:
|
| 21 |
self.hf_token = st.secrets.get("HF_TOKEN") or os.getenv('HF_TOKEN')
|
| 22 |
if not self.hf_token:
|
| 23 |
+
#st.error("HF_TOKEN not found in secrets or environment variables. Using local storage instead.")
|
| 24 |
self.use_local_storage = True
|
| 25 |
return
|
| 26 |
|