Spaces:
Sleeping
Sleeping
Commit
·
6a18d3a
1
Parent(s):
3870e0c
added model_kwargs
Browse files
app.py
CHANGED
@@ -241,7 +241,8 @@ Instructions:
|
|
241 |
llm = HuggingFaceEndpoint(
|
242 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
243 |
huggingfacehub_api_token=HF_ACCESS_KEY,
|
244 |
-
|
|
|
245 |
)
|
246 |
# chat = ChatHuggingFace(llm=llm, verbose=True)
|
247 |
# tools = [search_tool, fetch_weather]
|
|
|
241 |
llm = HuggingFaceEndpoint(
|
242 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
243 |
huggingfacehub_api_token=HF_ACCESS_KEY,
|
244 |
+
model_kwargs={'prompt': system_prompt}
|
245 |
+
# system_prompt=system_prompt,
|
246 |
)
|
247 |
# chat = ChatHuggingFace(llm=llm, verbose=True)
|
248 |
# tools = [search_tool, fetch_weather]
|