[F] Fix w and h
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user