victor HF staff commited on
Commit
c959858
·
1 Parent(s): 1ac71fe

add DEEPSEEK_API_KEY environment variable support

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -13,6 +13,7 @@ import shlex
13
  import shutil
14
 
15
  HF_API_KEY = os.environ["HF_TOKEN"]
 
16
 
17
  client = OpenAI(base_url="https://api-inference.huggingface.co/v1/", api_key=HF_API_KEY)
18
 
 
13
  import shutil
14
 
15
  HF_API_KEY = os.environ["HF_TOKEN"]
16
+ DEEPSEEK_API_KEY = os.environ["DEEPSEEK_API_KEY"]
17
 
18
  client = OpenAI(base_url="https://api-inference.huggingface.co/v1/", api_key=HF_API_KEY)
19