diff --git a/scripts/prompts_from_file.py b/scripts/prompts_from_file.py index 2751f98a..1fe10a7c 100644 --- a/scripts/prompts_from_file.py +++ b/scripts/prompts_from_file.py @@ -146,7 +146,7 @@ class Script(scripts.Script): else: args = {"prompt": line} - n_iter = args.get("n_iter", 1) + n_iter = args.get("n_iter", p.n_iter) if n_iter != 1: job_count += n_iter else: