Spaces:
Build error
Build error
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -8,8 +8,8 @@ load_dotenv()
|
|
| 8 |
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.
|
| 12 |
-
mistral = HuggingFaceEndpoint(repo_id=repo_id, huggingfacehub_api_token = secret_token, max_new_tokens=
|
| 13 |
|
| 14 |
class ContentAgents:
|
| 15 |
def __init__(self):
|
|
|
|
| 8 |
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.3"
|
| 12 |
+
mistral = HuggingFaceEndpoint(repo_id=repo_id, huggingfacehub_api_token = secret_token, max_new_tokens=50000,temperature=0.3,repetition_penalty=1.1)
|
| 13 |
|
| 14 |
class ContentAgents:
|
| 15 |
def __init__(self):
|