Skip to content

Commit 1b7d414

Browse files
authored
Fix usage of simplified API in readme
1 parent 6d1219d commit 1b7d414

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ lets you create images from a prompt in just three lines of code:
301301
~~~~
302302
from ldm.simplet2i import T2I
303303
model = T2I()
304-
outputs = model.text2image("a unicorn in manhattan")
304+
outputs = model.txt2img("a unicorn in manhattan")
305305
~~~~
306306

307307
Outputs is a list of lists in the format [[filename1,seed1],[filename2,seed2]...]

0 commit comments

Comments
 (0)