LovnishVerma commited on
Commit
ad18055
·
verified ·
1 Parent(s): 9991454

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ KNOWN_FACES_DIR = "known_faces"
10
  os.makedirs(KNOWN_FACES_DIR, exist_ok=True)
11
 
12
  # Retrieve the Hugging Face token from the environment
13
- hf_token = os.getenv("token") # Ensure the key matches the secret name
14
  if not hf_token:
15
  raise ValueError("Hugging Face token not found. Ensure it's set as a secret in the Hugging Face Space.")
16
 
 
10
  os.makedirs(KNOWN_FACES_DIR, exist_ok=True)
11
 
12
  # Retrieve the Hugging Face token from the environment
13
+ hf_token = os.getenv("upload") # Ensure the key matches the secret name
14
  if not hf_token:
15
  raise ValueError("Hugging Face token not found. Ensure it's set as a secret in the Hugging Face Space.")
16