yasserrmd commited on
Commit
c7fbf76
·
verified ·
1 Parent(s): 73f8944

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -107,8 +107,7 @@ class SinaReasonMedicalChat:
107
  # Apply chat template
108
  prompt = self.tokenizer.apply_chat_template(
109
  messages,
110
- tokenize=False,
111
- add_generation_prompt=True,
112
  )
113
 
114
  # Tokenize input and move to the same device as the model
 
107
  # Apply chat template
108
  prompt = self.tokenizer.apply_chat_template(
109
  messages,
110
+ tokenize=False
 
111
  )
112
 
113
  # Tokenize input and move to the same device as the model