mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-25 02:38:10 +00:00
support controlnet depth
This commit is contained in:
@@ -18,8 +18,8 @@ pipe = QwenImagePipeline.from_pretrained(
|
||||
|
||||
dataset_snapshot_download(
|
||||
dataset_id="DiffSynth-Studio/example_image_dataset",
|
||||
local_dir="./",
|
||||
allow_file_pattern="data/example_image_dataset/canny/image_1.jpg"
|
||||
local_dir="./data/example_image_dataset",
|
||||
allow_file_pattern="canny/image_1.jpg"
|
||||
)
|
||||
controlnet_image = Image.open("data/example_image_dataset/canny/image_1.jpg").resize((1328, 1328))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user