Skip to content

Commit

Permalink
More accurate progress description
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Jun 21, 2023
1 parent 7f59636 commit 3f11992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roop/processors/frame/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ def process_video(source_path: str, frame_paths: list[str], process_frames: Call
progress_bar_format = '{l_bar}{bar}| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, {rate_fmt}{postfix}]'
total = len(frame_paths)
with tqdm(total=total, desc='Processing', unit='frame', dynamic_ncols=True, bar_format=progress_bar_format) as progress:
progress.set_postfix({'execution_providers': roop.globals.execution_providers, 'threads': roop.globals.execution_threads, 'memory': roop.globals.max_memory})
progress.set_postfix({'execution_providers': roop.globals.execution_providers, 'execution_threads': roop.globals.execution_threads, 'max_memory': roop.globals.max_memory})
multi_process_frame(source_path, frame_paths, process_frames, progress)

0 comments on commit 3f11992

Please sign in to comment.