fomafoma commited on
Commit
82d5672
1 Parent(s): c7ab325

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import requests
3
 
4
  # Hugging Face Inference API Configuration
5
  API_URL = "https://api-inference.huggingface.co/models/tencent/Tencent-Hunyuan-Large"
6
- headers = {"Authorization": 'Hug_Access'} # Replace with your actual token
7
 
8
  def query(payload):
9
  response = requests.post(API_URL, headers=headers, json=payload)
 
3
 
4
  # Hugging Face Inference API Configuration
5
  API_URL = "https://api-inference.huggingface.co/models/tencent/Tencent-Hunyuan-Large"
6
+ headers = {"Authorization": 'Bearer API_TOKEN'} # Replace with your actual token
7
 
8
  def query(payload):
9
  response = requests.post(API_URL, headers=headers, json=payload)