DragonProgrammer commited on
Commit
23499c3
·
verified ·
1 Parent(s): afbd7d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -160,7 +160,7 @@ class HfAgentWrapper:
160
  try:
161
  print(f"Attempting to initialize HfAgent directly with model: {model_id_or_path}")
162
 
163
- hf_auth_token = os.getenv("HF_AUTH_TOKEN")
164
  if not hf_auth_token:
165
  # Starcoderbase might be gated or require login for some operations/configs
166
  print("WARNING: HF_AUTH_TOKEN secret not found. This might cause issues if the model requires full authentication.")
 
160
  try:
161
  print(f"Attempting to initialize HfAgent directly with model: {model_id_or_path}")
162
 
163
+ hf_auth_token = os.getenv("HF_TOKEN")
164
  if not hf_auth_token:
165
  # Starcoderbase might be gated or require login for some operations/configs
166
  print("WARNING: HF_AUTH_TOKEN secret not found. This might cause issues if the model requires full authentication.")