Skip to content

Commit

Permalink
Fixing do_work docs
Browse files Browse the repository at this point in the history
  • Loading branch information
leopedroso45 committed Jun 28, 2024
1 parent 47bf4be commit 31cf2ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sevsd/do_work.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def do_work(models, jobs, image_path, parallel_exec=True, loras=None, **kwargs):
- 'negative_prompt' (str, optional): Text prompt for undesired image features.
image_path (str): Directory path to save the generated images.
parallel_exec (bool, optional): Flag to enable parallel execution. Defaults to True.
loras (list, optional): List of LoRA weights files to be applied to the pipeline. Defaults to None.
**kwargs: Additional keyword arguments for pipeline setup.
Example:
Expand Down Expand Up @@ -70,4 +71,4 @@ def do_work(models, jobs, image_path, parallel_exec=True, loras=None, **kwargs):
if label in job_dict:
for job in job_dict[label]:
executor = model.get("executor", {})
process_task(job, pipeline, executor, image_path, parallel_exec)
process_task(job, pipeline, executor, image_path, parallel_exec)

0 comments on commit 31cf2ea

Please sign in to comment.