batlahiya commited on
Commit
768f70c
·
verified ·
1 Parent(s): f837eb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ def initialize_llmchain(llm_model, temperature, max_tokens, top_k, vector_db):
124
  @spaces.GPU(duration=60)
125
  def chat(message):
126
  global qa_chain
127
- prompt_template = "Instruction: You are an expert landlside assistant. Please provide a well written very well detailed helpful answer to the following user query only from the given references as an expert.User Query:\n"
128
  full_input = prompt_template + message
129
  response = qa_chain({"question": full_input})
130
  full_answer = response["answer"]
 
124
  @spaces.GPU(duration=60)
125
  def chat(message):
126
  global qa_chain
127
+ prompt_template = "Instruction: You are an expert landlside assistant. Please provide a well written very well detailed helpful answer to the following user query as an expert only from the given references here. User Query:\n"
128
  full_input = prompt_template + message
129
  response = qa_chain({"question": full_input})
130
  full_answer = response["answer"]