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.
"""
import os
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
import json
from .autotranscript import Scraibe
from .misc import ParseKwargs
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
from whisper.tokenizer import LANGUAGES, TO_LANGUAGE_CODE
from torch.cuda import is_available
from torch import set_num_threads
from .autotranscript import Scraibe
def cli():
"""
@@ -149,6 +144,5 @@ def cli():
with open(path, "w") as f:
f.write(out)
if __name__ == "__main__":
cli()