import os

os.system('python /home/v-xxxx/AUDIT_v2/hifi-gan/inference_e2e.py \
            --input_mels_dir="/home/v-xxxx/AUDIT_v2/como/test_mel" \
            --output_dir="/home/v-xxxx/AUDIT_v2/como/test_wav" \
            --checkpoint_file="/blob/v-xxxx/hifigan_cp/g_01250000"')
# infer_paths = os.listdir("/blob/v-xxxx/AUDITDATA/AUDIT_CD_INFER") 
# for pth in infer_paths:
#     mel_path = os.path.join("/blob/v-xxxx/AUDITDATA/AUDIT_CD_INFER", pth, "wav")
#     wav_path = os.path.join("/blob/v-xxxx/AUDITDATA/AUDIT_CD_INFER", pth, "wav_vocoder")
#     os.makedirs(wav_path, exist_ok=True)
#     os.system('python /home/v-xxxx/AUDIT_v2/hifi-gan/inference_e2e.py\
#             --input_mels_dir="{}" \
#             --output_dir="{}" \
#             --checkpoint_file="/blob/v-xxxx/hifigan_cp/g_01250000"'.format(mel_path, wav_path))