Simply inserting tqdm (or python -m tqdm) between pipes will pass through all stdin to stdout while printing progress to stderr.The example below demonstrated counting the number of lines in all Python files in the current directory, with timing information included....
223 223 pbar = tqdm(colour="blue", total=num_samples, dynamic_ncols=True) if not disable_pbar else None 224 224 time_speech_total = 0.0 225 225 time_escape_total = 0.0 @@ -231,12 +231,12 @@ def inference(self, input, input_len=None, model=None, kwargs=None, key=None,...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...