diff --git a/neon_speech/service.py b/neon_speech/service.py index c8ddc9d..47953e5 100644 --- a/neon_speech/service.py +++ b/neon_speech/service.py @@ -41,6 +41,7 @@ from ovos_utils.log import LOG, log_deprecation from neon_utils.configuration_utils import get_neon_user_config from neon_utils.metrics_utils import Stopwatch +from neon_utils.parse_utils import clean_quotes from neon_utils.user_utils import apply_local_user_profile_updates from ovos_bus_client import Message from ovos_config.config import update_mycroft_config @@ -572,6 +573,8 @@ def _get_stt_from_file(self, wav_file: str, LOG.warning("Transcriptions is a str, no alternatives provided") transcriptions = [transcriptions] + transcriptions = [clean_quotes(t) for t in transcriptions] + get_stt = float(_stopwatch.time) with _stopwatch: audio, audio_context = self.transformers.transform(audio_data)