Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -468,7 +468,7 @@ from langchain_huggingface import HuggingFaceEndpoint
|
|
468 |
|
469 |
# Initialize the HuggingFaceEndpoint with the desired model and parameters
|
470 |
llm = HuggingFaceEndpoint(
|
471 |
-
repo_id="
|
472 |
task="text-generation",
|
473 |
huggingfacehub_api_token=os.getenv("HF_TOKEN"),
|
474 |
temperature=0.7,
|
|
|
468 |
|
469 |
# Initialize the HuggingFaceEndpoint with the desired model and parameters
|
470 |
llm = HuggingFaceEndpoint(
|
471 |
+
repo_id="code_llama/code_llama-7b-instruct",
|
472 |
task="text-generation",
|
473 |
huggingfacehub_api_token=os.getenv("HF_TOKEN"),
|
474 |
temperature=0.7,
|