diff --git a/hdi1/nf4.py b/hdi1/nf4.py index 2e05c99..bdf90cc 100644 --- a/hdi1/nf4.py +++ b/hdi1/nf4.py @@ -86,7 +86,7 @@ def generate_image(pipe: HiDreamImagePipeline, model_type: str, prompt: str, res num_inference_steps = config["num_inference_steps"] # Parse resolution - height, width = resolution + width, height = resolution # Handle seed if seed == -1: diff --git a/pyproject.toml b/pyproject.toml index aa03dfd..141155b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "hdi1" -version = "1.0.2" +version = "1.0.3" description = "HiDream-I1 is a new open-source image generative foundation model with 17B parameters that achieves state-of-the-art image generation quality within seconds." readme = "README.md" requires-python = ">=3.10"