Dmtlant commited on
Commit
3cf6fd9
·
verified ·
1 Parent(s): be50a26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ except KeyError:
11
 
12
 
13
  API_URL = "https://api-inference.huggingface.co/models/tencent/Tencent-Hunyuan-Large"
14
- headers = {"Authorization": f"Bearer {api_token}"}
15
 
16
  def query(payload):
17
  response = requests.post(API_URL, headers=headers, json=payload)
 
11
 
12
 
13
  API_URL = "https://api-inference.huggingface.co/models/tencent/Tencent-Hunyuan-Large"
14
+ headers = {"Authorization": f"Bearer {HF_API_KEY}"}
15
 
16
  def query(payload):
17
  response = requests.post(API_URL, headers=headers, json=payload)