def interact_model(config: Union[str, Path, dict]) -> None:
model = build_model(config)<EOL>while True:<EOL><INDENT>args = []<EOL>for in_x in model.in_x:<EOL><INDENT>args.append((input('<STR_LIT>'.format(in_x)),))<EOL>if args[-<NUM_LIT:1>][<NUM_LIT:0>] in {'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:q>'}:<EOL><INDENT>return<EOL><DEDENT><DEDENT>pred = model(*args)<EOL>if len(model.out_params) > <NUM_LIT:1>:<EOL><INDENT>pred = zip(*pred)<EOL><DEDENT>print('<STR_LIT>', *pred)<EOL><DEDENT>
Start interaction with the model described in corresponding configuration file.