import requests

API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
headers = {"Authorization": f"Bearer {API_TOKEN}"}

def query(payload):
	response = requests.post(API_URL, headers=headers, json=payload)
	return response.json()
{"license": "cc-by-4.0"}
license:cc-by-4.0 region:us
TAGS
#license-cc-by-4.0 #region-us 

import requests

API_URL = "URL
headers = {"Authorization": f"Bearer {API_TOKEN}"}

def query(payload):
	response = URL(API_URL, headers=headers, json=payload)
	return URL()
TAGS
#license-cc-by-4.0 #region-us 

passage: TAGS
#license-cc-by-4.0 #region-us 
