Kr08 commited on
Commit
3955692
·
verified ·
1 Parent(s): 27e70be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -154,8 +154,8 @@ def answer_question(context, question):
154
  return "Please enter your Question"
155
 
156
  messages = [
157
- # {"role": "system", "content": "You are a helpful assistant who can answer questions based on the given context."},
158
- {"role":"system", "content": SYSTEM_MESSAGE},
159
  {"role": "user", "content": f"Context: {context}\n Question: {question}"}
160
  ]
161
 
 
154
  return "Please enter your Question"
155
 
156
  messages = [
157
+ {"role": "system", "content": "You are a helpful assistant who can answer questions based on the given context."},
158
+ # {"role":"system", "content": SYSTEM_MESSAGE},
159
  {"role": "user", "content": f"Context: {context}\n Question: {question}"}
160
  ]
161