import requests

API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
headers = {"Authorization": "Bearer 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"}

def query(payload):
	response = requests.post(API_URL, headers=headers, json=payload)
	return response.json()
	
output = query({
	"inputs": "Can you please let us know more details about your ",
})
{"license": "bigscience-bloom-rail-1.0"}
license:bigscience-bloom-rail-1.0 region:us
TAGS
#license-bigscience-bloom-rail-1.0 #region-us 

import requests

API_URL = "URL
headers = {"Authorization": "Bearer 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"}

def query(payload):
	response = URL(API_URL, headers=headers, json=payload)
	return URL()
	
output = query({
	"inputs": "Can you please let us know more details about your ",
})
TAGS
#license-bigscience-bloom-rail-1.0 #region-us 

passage: TAGS
#license-bigscience-bloom-rail-1.0 #region-us 
