From 1b7d414784a1ed2547b558442a8c4ab25f7a6cae Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Mon, 22 Aug 2022 21:01:15 -0700 Subject: [PATCH 1/2] Fix usage of simplified API in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f38debd90..9ed76208aa 100644 --- a/README.md +++ b/README.md @@ -301,7 +301,7 @@ lets you create images from a prompt in just three lines of code: ~~~~ from ldm.simplet2i import T2I model = T2I() -outputs = model.text2image("a unicorn in manhattan") +outputs = model.txt2img("a unicorn in manhattan") ~~~~ Outputs is a list of lists in the format [[filename1,seed1],[filename2,seed2]...] From c80ce4fff5ce06b695ff955c895b38a7f4f5c646 Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Mon, 22 Aug 2022 21:46:22 -0700 Subject: [PATCH 2/2] fix default config to match docs / dream.py --- ldm/simplet2i.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldm/simplet2i.py b/ldm/simplet2i.py index a4eac1af53..4af557d32d 100644 --- a/ldm/simplet2i.py +++ b/ldm/simplet2i.py @@ -104,7 +104,7 @@ The vast majority of these arguments default to reasonable values. seed=None, cfg_scale=7.5, weights="models/ldm/stable-diffusion-v1/model.ckpt", - config = "configs/latent-diffusion/txt2img-1p4B-eval.yaml", + config = "configs/stable-diffusion/v1-inference.yaml", sampler_name="klms", latent_channels=4, downsampling_factor=8,