Commit e2d476ab by nzy

Fix RobotB outputs

parent 79533a8c
from anpl.synthesizer import raw_query, msg
from utils import sys_str, system_info, multiline_input, select_task, set_openai_key, rich_dumps
from rich.prompt import IntPrompt, Confirm, Prompt
import rich
from anpl.sandbox import import_module_from_string
import numpy as np
import time
......@@ -85,7 +86,7 @@ while not is_correct:
logger.log("system", "check", f"wrong")
system_info("[red] Code WRONG [/red]")
print("The output is")
print(rich_dumps(out))
rich.print(rich_dumps(out))
else:
quit_time = time.time()
if quit_time - logger.start_time < 30 * 60:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment