fix: Update Hugging Face API key environment variable and add debug prints
Browse files
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["
|
|
|
|
|
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
|