Skip to content

Commit

Permalink
Hotfix progress bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
LLautenbacher committed May 13, 2024
1 parent 3383dc2 commit 06421df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/python/koinapy/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def __predict_semi_async(self, data, debug=False, disable_progress_bar=False):
results = []
data_subsets = list(self.__slice_dict(data, self.batchsize * 10))
pbar = tqdm(
total=len(data_subsets) * 10,
total=ceil(next(iter(data.values())).shape[0] / self.batchsize),
desc=f"{self.model_name}:",
disable=disable_progress_bar,
)
Expand Down

0 comments on commit 06421df

Please sign in to comment.