Model: Reformat and clean up

This commit is contained in:
somebody
2023-03-09 19:12:44 -06:00
parent fb0b2f0467
commit 52095054a3
7 changed files with 11 additions and 19 deletions

View File

@@ -360,9 +360,8 @@ class InferenceModel:
# amount (controlled by halt), or Dynamic WI has not told us to
# stop temporarily to insert WI, we can assume that we are done
# generating. We shall break.
if (
self.gen_state.get("halt")
or not self.gen_state.get("regeneration_required")
if self.gen_state.get("halt") or not self.gen_state.get(
"regeneration_required"
):
break