Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -289,7 +289,7 @@ def reasoning_node(state: AgentState) -> AgentState:
|
|
289 |
llm = ChatHuggingFace(
|
290 |
llm=HuggingFaceEndpoint(
|
291 |
repo_id=model_id,
|
292 |
-
max_new_tokens=
|
293 |
temperature=0.1,
|
294 |
huggingfacehub_api_token=HF_TOKEN, # --- CHANGE: Pass HF_TOKEN here ---
|
295 |
)
|
|
|
289 |
llm = ChatHuggingFace(
|
290 |
llm=HuggingFaceEndpoint(
|
291 |
repo_id=model_id,
|
292 |
+
max_new_tokens=1024, # 512
|
293 |
temperature=0.1,
|
294 |
huggingfacehub_api_token=HF_TOKEN, # --- CHANGE: Pass HF_TOKEN here ---
|
295 |
)
|