Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import re
|
|
12 |
#)
|
13 |
|
14 |
# Load API key from environment variables
|
15 |
-
HF_API_TOKEN = os.getenv("
|
16 |
|
17 |
# Hugging Face Inference API Client
|
18 |
client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1", token=HF_API_TOKEN)
|
|
|
12 |
#)
|
13 |
|
14 |
# Load API key from environment variables
|
15 |
+
HF_API_TOKEN = os.getenv("HUG_TOKEN")
|
16 |
|
17 |
# Hugging Face Inference API Client
|
18 |
client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1", token=HF_API_TOKEN)
|