diff --git a/modules/nlp.py b/modules/nlp.py index 6f22f7b..9197168 100644 --- a/modules/nlp.py +++ b/modules/nlp.py @@ -66,7 +66,6 @@ async def genOut(self, noun): coun += 1 iter = 0 while (end.find_one(word=out[-1]) is None or nouns.count(word=out[-1])-1 > iter * shared.enmul) and iter < 7: - try: out.append(random.choice(list(prew.find(pre=out[-1])))['pro']) except IndexError: