Skip to content

Commit

Permalink
Add progress bar for cli inference
Browse files Browse the repository at this point in the history
Fixes #99
  • Loading branch information
faroit committed Jul 23, 2021
1 parent 0f174b7 commit 8c40c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openunmix/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import torchaudio
import json
import numpy as np

import tqdm

from openunmix import utils
from openunmix import predict
Expand Down Expand Up @@ -152,7 +152,7 @@ def separate():
raise RuntimeError("Please install pip package `stempeg`")

# loop over the files
for input_file in args.input:
for input_file in tqdm.tqdm(args.input):
if args.audio_backend == "stempeg":
audio, rate = stempeg.read_stems(
input_file,
Expand Down

0 comments on commit 8c40c46

Please sign in to comment.