aizanlabs commited on
Commit
5a9f772
·
verified ·
1 Parent(s): 9e98221

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ class DocumentRetrievalAndGeneration:
153
  </s>
154
  """
155
  messages = [{"role": "system", "content": prompt}]
156
- messages.append({"role": "user", "content": message})
157
  response = ""
158
 
159
  for message in client.chat_completion(messages,max_tokens=2048,stream=True,temperature=0.7):
 
153
  </s>
154
  """
155
  messages = [{"role": "system", "content": prompt}]
156
+ messages.append({"role": "user", "content": query})
157
  response = ""
158
 
159
  for message in client.chat_completion(messages,max_tokens=2048,stream=True,temperature=0.7):