mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-14 22:13:41 +03:00
webui: add prompt output to console (#1031)
* webui: add prompt output to console show the user what prompt is currently being rendered * fix prompt print location
This commit is contained in:
parent
c3d12d9b14
commit
9f8a7a61ad
@ -999,6 +999,7 @@ def process_images(
|
||||
job_info.job_status = f"Processing Iteration {n+1}/{n_iter}. Batch size {batch_size}"
|
||||
for idx,(p,s) in enumerate(zip(prompts,seeds)):
|
||||
job_info.job_status += f"\nItem {idx}: Seed {s}\nPrompt: {p}"
|
||||
print(f"Current prompt: {p}")
|
||||
|
||||
if opt.optimized:
|
||||
modelCS.to(device)
|
||||
|
Loading…
Reference in New Issue
Block a user