Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ async def chat(query,history,sources,reports):
|
|
72 |
|
73 |
# get prompt
|
74 |
|
75 |
-
prompt = ChatPromptTemplate.from_template(llama3_prompt_template.format(
|
76 |
|
77 |
# get llm
|
78 |
llm_qa = HuggingFaceEndpoint(
|
|
|
72 |
|
73 |
# get prompt
|
74 |
|
75 |
+
prompt = ChatPromptTemplate.from_template(llama3_prompt_template.format(system_prompt=system_propmt,user_prompt=user_propmt))
|
76 |
|
77 |
# get llm
|
78 |
llm_qa = HuggingFaceEndpoint(
|