mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
better smoothing for bar
This commit is contained in:
parent
70e00fb6b4
commit
980c966e53
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Counter():
|
|||
self.first_update = True
|
||||
self.initial = initial
|
||||
self.left = total - initial
|
||||
self.tqdm_bar = tqdm(total=self.left, initial=0, dynamic_ncols=True, unit="fr", leave=True, smoothing=0.2)
|
||||
self.tqdm_bar = tqdm(total=self.left, initial=0, dynamic_ncols=True, unit="fr", leave=True, smoothing=0.01)
|
||||
|
||||
def update(self, value):
|
||||
if self.first_update:
|
||||
|
|
Loading…
Reference in a new issue