kwang2049 commited on
Commit
b2bad51
1 Parent(s): 8d01c7e
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -11,13 +11,13 @@ Modified coreference resolution model from [BERT for Coreference Resolution: Bas
11
 
12
  ## Usage
13
  ### API call
14
- One can call the Hugging's Inference Endpoints API directly:
15
  ```python
16
  import requests
17
  import time
18
 
19
  API_URL = "https://api-inference.huggingface.co/models/kwang2049/long-coref"
20
- headers = {"Authorization": "Bearer ${YOUR_HUGGINGFACE_ACCESS_TOKEN}"}
21
 
22
 
23
  def query(payload):
 
11
 
12
  ## Usage
13
  ### API call
14
+ One can call the Hugging's Inference Endpoints API directly: (need your access token from https://huggingface.co/settings/tokens)
15
  ```python
16
  import requests
17
  import time
18
 
19
  API_URL = "https://api-inference.huggingface.co/models/kwang2049/long-coref"
20
+ headers = {"Authorization": "Bearer ${YOUR_HUGGINGFACE_ACCESS_TOKEN}"}
21
 
22
 
23
  def query(payload):