Skip to content

Commit

Permalink
height dim correctly set in example (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
LRY89757 authored Sep 25, 2024
1 parent 9675e39 commit db920b5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/flux_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def main():
start_time = time.time()
output = pipe(
height=input_config.height,
width=input_config.height,
width=input_config.width,
prompt=input_config.prompt,
num_inference_steps=input_config.num_inference_steps,
output_type=input_config.output_type,
Expand Down
2 changes: 1 addition & 1 deletion examples/hunyuandit_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main():
start_time = time.time()
output = pipe(
height=input_config.height,
width=input_config.height,
width=input_config.width,
prompt=input_config.prompt,
num_inference_steps=input_config.num_inference_steps,
output_type=input_config.output_type,
Expand Down
2 changes: 1 addition & 1 deletion examples/pixartalpha_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main():
start_time = time.time()
output = pipe(
height=input_config.height,
width=input_config.height,
width=input_config.width,
prompt=input_config.prompt,
num_inference_steps=input_config.num_inference_steps,
output_type=input_config.output_type,
Expand Down
2 changes: 1 addition & 1 deletion examples/pixartsigma_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main():
start_time = time.time()
output = pipe(
height=input_config.height,
width=input_config.height,
width=input_config.width,
prompt=input_config.prompt,
num_inference_steps=input_config.num_inference_steps,
output_type=input_config.output_type,
Expand Down
2 changes: 1 addition & 1 deletion examples/sd3_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main():
start_time = time.time()
output = pipe(
height=input_config.height,
width=input_config.height,
width=input_config.width,
prompt=input_config.prompt,
num_inference_steps=input_config.num_inference_steps,
output_type=input_config.output_type,
Expand Down

0 comments on commit db920b5

Please sign in to comment.