srijaydeshpande commited on
Commit
6b4604f
·
1 Parent(s): 2e05e8b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def deidentify_doc(pdftext=""):
100
  "content": pdftext}, ]
101
  prompt = model.tokenizer.apply_chat_template(
102
  messages,
103
- tokenize=True,
104
  add_generation_prompt=True
105
  )
106
  terminators = [
 
100
  "content": pdftext}, ]
101
  prompt = model.tokenizer.apply_chat_template(
102
  messages,
103
+ tokenize=False,
104
  add_generation_prompt=True
105
  )
106
  terminators = [