damoojeje commited on
Commit
05755ed
·
verified ·
1 Parent(s): 86e0553

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ def load_model():
139
  return pipe, tokenizer
140
 
141
  def ask_model(question, context, pipe, tokenizer):
142
- prompt = f"""Use only the following context to answer. If uncertain, say "I don't know."
143
 
144
  <context>
145
  {context}
 
139
  return pipe, tokenizer
140
 
141
  def ask_model(question, context, pipe, tokenizer):
142
+ prompt = f"""Use only the following context to answer. If uncertain, say \"I don't know.\"
143
 
144
  <context>
145
  {context}