Chris4K commited on
Commit
3a5fb85
·
1 Parent(s): f275817

Update text_generator.py

Browse files
Files changed (1) hide show
  1. text_generator.py +1 -1
text_generator.py CHANGED
@@ -14,7 +14,7 @@ class TextGenerationTool(Tool):
14
  outputs = ["text"]
15
 
16
  def __call__(self, prompt: str):
17
- API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-v0.1"
18
  headers = {"Authorization": "Bearer " + os.environ['hf']}
19
 
20
  payload = {
 
14
  outputs = ["text"]
15
 
16
  def __call__(self, prompt: str):
17
+ API_URL = "https://api-inference.huggingface.co/models/openchat/openchat_3.5"
18
  headers = {"Authorization": "Bearer " + os.environ['hf']}
19
 
20
  payload = {