lvwerra HF staff commited on
Commit
fad3b25
·
verified ·
1 Parent(s): 185eab3

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -286,8 +286,8 @@ def run_interactive_notebook(client, model, tokenizer, messages, sbx, max_new_to
286
  else:
287
  notebook_data["cells"][-1]["source"] = assistant_response
288
  if i%16 == 0:
289
- yield update_notebook_display(notebook_data), messages
290
- yield update_notebook_display(notebook_data), messages
291
 
292
 
293
  # Handle code execution
 
286
  else:
287
  notebook_data["cells"][-1]["source"] = assistant_response
288
  if i%16 == 0:
289
+ yield update_notebook_display(notebook_data), notebook_data, messages
290
+ yield update_notebook_display(notebook_data), notebook_data, messages
291
 
292
 
293
  # Handle code execution