Skip to content

Commit

Permalink
Minor change to test build
Browse files Browse the repository at this point in the history
  • Loading branch information
yekta committed Sep 8, 2024
1 parent c567055 commit d0f0e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shared/sd.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ def get_scheduler(name, config):
def generate(
props: GenerateFunctionProps[StableDiffusionPipeObject],
) -> List[GenerateOutput]:
# Props ----------------------------------------------------------------
# Props -----------------------------------------------------------------
input = props.input
pipe_object = props.pipe_object
model_name = props.model_name
default_prompt_prefix = props.default_prompt_prefix
default_negative_prompt_prefix = props.default_negative_prompt_prefix
dont_set_scheduler = props.dont_set_scheduler
# ----------------------------------------------------------------------
# -----------------------------------------------------------------------

inference_start = time.time()
log_gpu_memory(message="Before inference")
Expand Down

0 comments on commit d0f0e02

Please sign in to comment.