Hello,
I am trying to run the following:
>
> import requests
>
> API_URL = "https://api-inference.huggingface.co/models/ProsusAI/finbert"
> headers = {"Authorization": f"Bearer {API_Token}"}
>
> def query(payload):
> response = requests.post(API_URL, headers=headers, json=payload)
> return response.json()
However I get the following error: NameError: name ‘API_Token’ is not defined
API_token is replaced with actual access token from hugging face starting with hf_