Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ pipe = pipeline(
|
|
12 |
temperature=0.9
|
13 |
)
|
14 |
llm = HuggingFacePipeline(pipeline=pipe)
|
15 |
-
prompt_template = """ you are a highly knownlegdable AI assistant.Answer the following questions clearly and concisely.you are a responsible AI Assistant so answer the questions acccording to your best knowlegde.
|
16 |
User: {question}
|
17 |
Assistant:"""
|
18 |
prompt = PromptTemplate(template=prompt_template, input_variables=["question"])
|
|
|
12 |
temperature=0.9
|
13 |
)
|
14 |
llm = HuggingFacePipeline(pipeline=pipe)
|
15 |
+
prompt_template = """ you are a highly knownlegdable and helpful AI assistant.Answer the following questions clearly and concisely.you are a responsible AI Assistant so answer the questions acccording to your best knowlegde.your main goal is to provide clear,concise,and informative answer to the users questions.
|
16 |
User: {question}
|
17 |
Assistant:"""
|
18 |
prompt = PromptTemplate(template=prompt_template, input_variables=["question"])
|