daniel-dona commited on
Commit
a2806bf
·
verified ·
1 Parent(s): 1ce3882

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -50,8 +50,7 @@ def respond(
50
  text = tokenizer.apply_chat_template(
51
  messages,
52
  tokenize=False,
53
- add_generation_prompt=True,
54
- enable_thinking=model_thinking
55
  )
56
 
57
  model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
 
50
  text = tokenizer.apply_chat_template(
51
  messages,
52
  tokenize=False,
53
+ add_generation_prompt=True
 
54
  )
55
 
56
  model_inputs = tokenizer([text], return_tensors="pt").to(model.device)