From 744fd4b184cdf99b680fe5a2943fdb2eaab7d493 Mon Sep 17 00:00:00 2001 From: ThioJoe <12518330+ThioJoe@users.noreply.github.com> Date: Thu, 14 Dec 2023 14:50:40 -0700 Subject: [PATCH] Remove Other unnecessary imports Also addresses #69 in other files --- Scripts/TTS.py | 1 - Scripts/audio_builder.py | 1 - Scripts/translate.py | 1 - main.py | 1 - 4 files changed, 4 deletions(-) diff --git a/Scripts/TTS.py b/Scripts/TTS.py index 26abe10..2e67670 100644 --- a/Scripts/TTS.py +++ b/Scripts/TTS.py @@ -16,7 +16,6 @@ import Scripts.auth as auth import Scripts.azure_batch as azure_batch import Scripts.utils as utils -from Scripts.utils import parseBool # Get variables from config diff --git a/Scripts/audio_builder.py b/Scripts/audio_builder.py index d509fc3..ea94de3 100644 --- a/Scripts/audio_builder.py +++ b/Scripts/audio_builder.py @@ -7,7 +7,6 @@ from Scripts.shared_imports import * import Scripts.TTS as TTS -from Scripts.utils import parseBool from pydub import AudioSegment from pydub.silence import detect_leading_silence diff --git a/Scripts/translate.py b/Scripts/translate.py index dccc02d..fcd4b9a 100644 --- a/Scripts/translate.py +++ b/Scripts/translate.py @@ -4,7 +4,6 @@ # Imports from Scripts.shared_imports import * import Scripts.auth as auth -from Scripts.utils import parseBool import Scripts.utils as utils import configparser diff --git a/main.py b/main.py index 39759bf..36bdf8a 100644 --- a/main.py +++ b/main.py @@ -15,7 +15,6 @@ import Scripts.audio_builder as audio_builder import Scripts.auth as auth import Scripts.translate as translate -from Scripts.utils import parseBool # Import built in modules import re