From d842522c704c0c0ee23bf493873116425eb76e5d Mon Sep 17 00:00:00 2001 From: Sebastien Campion Date: Sun, 10 Nov 2024 11:00:09 +0100 Subject: [PATCH] Update README.md (#1258) Fix that error NameError: name 'rng' is not defined --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 832703ce6..c7f071503 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ character = generator("Give me a character description", seed=seed) print(repr(character)) # Character(name='Anderson', age=28, armor=, weapon=, strength=8) -character = generator("Give me an interesting character description", rng=rng) +character = generator("Give me an interesting character description") print(repr(character)) # Character(name='Vivian Thr', age=44, armor=, weapon=, strength=125)