Spaces:
Runtime error
Runtime error
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 |