params: Fix loading delay on startup (#1297)

params frame counter init

make sure param_store.update gets processed on first call

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
This commit is contained in:
dzid26
2025-10-05 08:34:12 +01:00
committed by GitHub
parent 18abe218d9
commit 520649b893
@@ -22,7 +22,7 @@ class ParamStore:
self.keys = universal_params + brand_params
self._params = {}
self.frame = 0
self.frame = -1
def update(self, params: Params) -> None:
self.frame += 1