OjciecTadeusz commited on
Commit
a478c21
·
verified ·
1 Parent(s): a2280d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ logger = logging.getLogger(__name__)
24
  # Configuration
25
  API_URL = "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B"
26
  headers = {
27
- "Authorization": f"Bearer {$(cat /run/secrets/SECRET_EXAMPLE)}",
28
  "Content-Type": "application/json"
29
  }
30
 
 
24
  # Configuration
25
  API_URL = "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B"
26
  headers = {
27
+ "Authorization": f"Bearer {os.getenv('HF_API_TOKEN')}",
28
  "Content-Type": "application/json"
29
  }
30