Spaces:
Runtime error
Runtime error
File size: 379 Bytes
a394acb 9846887 a394acb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import argparse
from distutils.util import strtobool
def parse_args():
parser = argparse.ArgumentParser()
# env arguments
parser.add_argument('--model', type = str, default = 'whisper_medium_clinical_assistance_10k', help = 'whisper model for inference')
# consolidate args
args = parser.parse_args()
args = vars(args)
return args |