Spaces:
Build error
Build error
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -9,7 +9,7 @@ secret_token = os.getenv("content")
|
|
| 9 |
#from tools.browser_tools import BrowserTools
|
| 10 |
#from tools.search_tools import SearchTools
|
| 11 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2"
|
| 12 |
-
mistral = HuggingFaceEndpoint(repo_id=repo_id, huggingfacehub_api_token = secret_token,temperature=0.3,repetition_penalty=1.1)
|
| 13 |
|
| 14 |
class ContentAgents:
|
| 15 |
def __init__(self):
|
|
|
|
| 9 |
#from tools.browser_tools import BrowserTools
|
| 10 |
#from tools.search_tools import SearchTools
|
| 11 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2"
|
| 12 |
+
mistral = HuggingFaceEndpoint(repo_id=repo_id, huggingfacehub_api_token = secret_token, max_new_tokens=8000,temperature=0.3,repetition_penalty=1.1)
|
| 13 |
|
| 14 |
class ContentAgents:
|
| 15 |
def __init__(self):
|