Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add DEEPSEEK_API_KEY environment variable support
Browse files
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 |
|