File size: 412 Bytes
309f6c0 71406a9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
---
license: bigscience-bloom-rail-1.0
---
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 ",
}) |