Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -21,7 +21,7 @@ load_dotenv()
|
|
| 21 |
llm = ChatHuggingFace(
|
| 22 |
llm=HuggingFaceEndpoint(
|
| 23 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 24 |
-
huggingfacehub_api_token=HF_KEY,
|
| 25 |
task="conversational", # Specify task for the conversational model
|
| 26 |
)
|
| 27 |
)
|
|
|
|
| 21 |
llm = ChatHuggingFace(
|
| 22 |
llm=HuggingFaceEndpoint(
|
| 23 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 24 |
+
huggingfacehub_api_token='HF_KEY',
|
| 25 |
task="conversational", # Specify task for the conversational model
|
| 26 |
)
|
| 27 |
)
|