removed unused packages

This commit is contained in:
Schmieder, Jacob
2024-05-30 14:23:05 +00:00
parent c8b9a7aa93
commit 754d0e9b84
+2 -8
View File
@@ -5,17 +5,12 @@ The function includes arguments for specifying the audio files, model paths,
output formats, and other options necessary for transcription. output formats, and other options necessary for transcription.
""" """
import os import os
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
import json import json
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
from .autotranscript import Scraibe
from .misc import ParseKwargs
from whisper.tokenizer import LANGUAGES, TO_LANGUAGE_CODE from whisper.tokenizer import LANGUAGES, TO_LANGUAGE_CODE
from torch.cuda import is_available from torch.cuda import is_available
from torch import set_num_threads from torch import set_num_threads
from .autotranscript import Scraibe
def cli(): def cli():
""" """
@@ -149,6 +144,5 @@ def cli():
with open(path, "w") as f: with open(path, "w") as f:
f.write(out) f.write(out)
if __name__ == "__main__": if __name__ == "__main__":
cli() cli()