Skip to content

Commit 5009be1

Browse files
committed
Add trust_remote_code=True requirement for custom components
1 parent c90993d commit 5009be1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/community/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4358,6 +4358,7 @@ from diffusers.utils import make_image_grid
43584358
pipe = DiffusionPipeline.from_pretrained("tolgacangoz/matryoshka-diffusion-models",
43594359
custom_pipeline="matryoshka",
43604360
nesting_level=0,
4361+
trust_remote_code=False, # One needs to give permission for this code to run
43614362
).to("cuda")
43624363

43634364
prompt0 = "a blue jay stops on the top of a helmet of Japanese samurai, background with sakura tree"

0 commit comments

Comments
 (0)