Chris4K commited on
Commit
126246c
1 Parent(s): 7846d6e

Update text_generator.py

Browse files
Files changed (1) hide show
  1. text_generator.py +1 -1
text_generator.py CHANGED
@@ -15,7 +15,7 @@ class TextGenerationTool(Tool):
15
 
16
  def __call__(self, prompt: str):
17
  API_URL = "https://api-inference.huggingface.co/models/lukasdrg/clinical_longformer_same_tokens_220k"
18
- headers = {"Authorization": "Bearer " + os.environ['HF']}
19
 
20
  # Define the payload for the request
21
  payload = {
 
15
 
16
  def __call__(self, prompt: str):
17
  API_URL = "https://api-inference.huggingface.co/models/lukasdrg/clinical_longformer_same_tokens_220k"
18
+ headers = {"Authorization": "Bearer " + os.environ['hf']}
19
 
20
  # Define the payload for the request
21
  payload = {