create artefacts folder if not already present

This commit is contained in:
Gokul Mohanarangan
2023-07-11 18:56:57 +05:30
parent 34f2795fa9
commit 95663c7e80

View File

@@ -30,6 +30,9 @@ nltk.download('stopwords', quiet=True)
WHISPER_MODEL_SIZE = config['DEFAULT']["WHISPER_MODEL_SIZE"]
NOW = datetime.now()
if not os.path.exists('./artefacts'):
os.makedirs('./artefacts')
def init_argparse() -> argparse.ArgumentParser:
"""