diff --git a/py/generative_poetry/poetry_seeds.py b/py/generative_poetry/poetry_seeds.py index dde6861..6570aeb 100644 --- a/py/generative_poetry/poetry_seeds.py +++ b/py/generative_poetry/poetry_seeds.py @@ -92,3 +92,5 @@ def generate_seeds(self, user_id, domain=None): return list(seeds) + def restart_user_session(self, user_id): + self.user_seeds[user_id] = set()