Update app.py
Browse files
app.py
CHANGED
|
@@ -101,8 +101,8 @@ def load_preset(name):
|
|
| 101 |
preset["system"],
|
| 102 |
preset["prompt"],
|
| 103 |
preset["thinking"],
|
| 104 |
-
preset["sample_reasoning"],
|
| 105 |
-
preset["sample_answer"],
|
| 106 |
)
|
| 107 |
|
| 108 |
|
|
@@ -322,7 +322,8 @@ with gr.Blocks(title="Local CPU split-reasoning chat") as demo:
|
|
| 322 |
preset.change(
|
| 323 |
fn=load_preset,
|
| 324 |
inputs=preset,
|
| 325 |
-
outputs=[system_prompt, user_input, thinking, sample_reasoning, sample_answer],
|
|
|
|
| 326 |
)
|
| 327 |
|
| 328 |
send_btn.click(
|
|
|
|
| 101 |
preset["system"],
|
| 102 |
preset["prompt"],
|
| 103 |
preset["thinking"],
|
| 104 |
+
# preset["sample_reasoning"],
|
| 105 |
+
# preset["sample_answer"],
|
| 106 |
)
|
| 107 |
|
| 108 |
|
|
|
|
| 322 |
preset.change(
|
| 323 |
fn=load_preset,
|
| 324 |
inputs=preset,
|
| 325 |
+
# outputs=[system_prompt, user_input, thinking, sample_reasoning, sample_answer],
|
| 326 |
+
outputs=[system_prompt, user_input, thinking],
|
| 327 |
)
|
| 328 |
|
| 329 |
send_btn.click(
|