Spaces:
Running
Running
Update app.py
Browse files
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)
|