Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -270,7 +270,7 @@ def run_interactive_notebook(client, model, tokenizer, messages, sbx, max_new_to
|
|
270 |
yield update_notebook_display(notebook_data), messages
|
271 |
|
272 |
|
273 |
-
print(f"last_tokens: {'|'.join(tokens[-10:])}")
|
274 |
# Handle code execution
|
275 |
if code_cell:
|
276 |
notebook_data["cells"][-1]["execution_count"] = code_cell_counter
|
|
|
270 |
yield update_notebook_display(notebook_data), messages
|
271 |
|
272 |
|
273 |
+
print(f"last_tokens: {'|'.join(tokens[-10:])}, n_msg: {len(messages)}")
|
274 |
# Handle code execution
|
275 |
if code_cell:
|
276 |
notebook_data["cells"][-1]["execution_count"] = code_cell_counter
|