tests
This commit is contained in:
@@ -151,7 +151,6 @@ def main():
|
||||
"--model", model_lm,
|
||||
"--codec", model_cdc,
|
||||
"--seed", str(args.seed),
|
||||
"--text", text,
|
||||
"--speaker", args.speaker,
|
||||
"--lang", args.lang,
|
||||
"--max-new", str(args.max_new_tokens),
|
||||
@@ -162,7 +161,7 @@ def main():
|
||||
if args.instruct:
|
||||
cmd[-1:-1] = ["--instruct", args.instruct]
|
||||
print(f"[GGML] Cmd: {' '.join(cmd)}")
|
||||
r = subprocess.run(cmd)
|
||||
r = subprocess.run(cmd, input=text, text=True)
|
||||
if r.returncode != 0:
|
||||
sys.exit(r.returncode)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user