|
Download README.md from Shaz/augh: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/Shaz/augh/resolve/main/README.md
- Command line
-
hf download hf://Shaz/augh/README.md
-
curl -L -o README.md https://huggingface.co/Shaz/augh/resolve/main/README.md
327 Bytes
import requests
API_URL = "https://api-inference.huggingface.co/models/gpt2" headers = {"Authorization": f"Bearer {API_TOKEN}"}
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 ", })