Skip to content

Commit

Permalink
Fixes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
atiorh committed Nov 9, 2024
1 parent 8378fb3 commit 50011f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whisperkit/evaluate/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def evaluate(whisper_pipeline: Union[pipelines.WhisperPipeline, pipelines.Whispe

logger.info(f"Launching {num_proc} processes to run {whisper_pipeline.__class__.__name__}")
with Pool(num_proc) as pool:
results = list(tqdm.tqdm(pool.map(
results = list(tqdm.tqdm(pool.imap(
partial(evaluate_sample, whisper_pipeline=whisper_pipeline), dataset),
total=len(dataset)
))
Expand Down

0 comments on commit 50011f4

Please sign in to comment.