Skip to content

Commit

Permalink
updated default arg in proc_audio
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec-Wright committed Feb 24, 2021
1 parent 61beaf7 commit e7f89dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CoreAudioML
4 changes: 1 addition & 3 deletions proc_audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def parse_args():
help='file name/location of audio file to be processed')
parser.add_argument('output_file', default='output.wav', nargs='?',
help='file name/location where processed audio will be saved')
parser.add_argument('model_file', default='Results/ht1ht11/model_best.json', nargs='?',
parser.add_argument('model_file', default='Results/ht1-ht11/model_best.json', nargs='?',
help='file name/location of .json file that contains the neural network model')
return parser.parse_args()

Expand All @@ -31,10 +31,8 @@ def proc_audio(args):


def main():
st = time.time()
args = parse_args()
proc_audio(args)
print(time.time() - st)

if __name__ == '__main__':
main()

0 comments on commit e7f89dd

Please sign in to comment.