Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def generate_answer(query):
|
|
15 |
Answer: Let's think step by step.
|
16 |
"""
|
17 |
|
18 |
-
PromptTemplate(template=template, input_variables=["query"])
|
19 |
llm_chain = LLMChain(prompt=prompt, llm=llm)
|
20 |
result = llm_chain.run(query)
|
21 |
return result
|
|
|
15 |
Answer: Let's think step by step.
|
16 |
"""
|
17 |
|
18 |
+
prompt= PromptTemplate(template=template, input_variables=["query"])
|
19 |
llm_chain = LLMChain(prompt=prompt, llm=llm)
|
20 |
result = llm_chain.run(query)
|
21 |
return result
|