victor HF staff commited on
Commit
f405812
1 Parent(s): d348068

fix: Update Hugging Face API key environment variable and add debug prints

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -13,7 +13,9 @@ import shlex
13
  import shutil
14
  from utils import format_bash_command
15
 
16
- HF_API_KEY = os.environ["HF_API_KEY"]
 
 
17
  client = OpenAI(
18
  base_url="https://api-inference.huggingface.co/v1/",
19
  api_key=HF_API_KEY
 
13
  import shutil
14
  from utils import format_bash_command
15
 
16
+ HF_API_KEY = os.environ["HF_TOKEN"]
17
+ print('caca')
18
+ print(os.environ["HF_TOKEN"])
19
  client = OpenAI(
20
  base_url="https://api-inference.huggingface.co/v1/",
21
  api_key=HF_API_KEY