Chris4K commited on
Commit
370984c
1 Parent(s): b43651d

Update text_generator.py

Browse files
Files changed (1) hide show
  1. text_generator.py +1 -1
text_generator.py CHANGED
@@ -16,7 +16,7 @@ import requests
16
 
17
 
18
  API_URL = "https://api-inference.huggingface.co/models/lukasdrg/clinical_longformer_same_tokens_220k"
19
- headers = {"Authorization": "Bearer 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"}
20
 
21
  #def query(payload):
22
  generated_text = requests.post(API_URL, headers=headers, json=payload)
 
16
 
17
 
18
  API_URL = "https://api-inference.huggingface.co/models/lukasdrg/clinical_longformer_same_tokens_220k"
19
+ # headers = {"Authorization": "Bearer "}
20
 
21
  #def query(payload):
22
  generated_text = requests.post(API_URL, headers=headers, json=payload)