Skip to content

Commit

Permalink
Disabled Google speech synthesis for now, due to massive dependencies…
Browse files Browse the repository at this point in the history
… that are as of yet incompatible with PyPy
  • Loading branch information
sveinbjornt committed Oct 16, 2023
1 parent aab39b2 commit d07c633
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies = [
# Azure TTS
"azure-cognitiveservices-speech>=1.25.0",
# Google TTS
"google-cloud-texttospeech>=2.14.0",
#"google-cloud-texttospeech>=2.14.0",
# AWS Polly TTS
"botocore>=1.21.40",
"boto3>=1.18.40",
Expand Down
4 changes: 2 additions & 2 deletions src/icespeak/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from .transcribe import TranscriptionOptions

# TODO: Re implement Tiro
from .voices import BaseVoice, TTSOptions, VoiceInfoT, aws_polly, azure, google
from .voices import BaseVoice, TTSOptions, VoiceInfoT, aws_polly, azure # , google

if TYPE_CHECKING:
from pathlib import Path
Expand All @@ -57,7 +57,7 @@ def _setup_voices() -> tuple[VoicesT, ServicesT]:
services = (
aws_polly.AWSPollyVoice(),
azure.AzureVoice(),
google.GoogleVoice(),
# google.GoogleVoice(),
# tiro.TiroVoice(),
)
voices: VoicesT = {}
Expand Down
File renamed without changes.

0 comments on commit d07c633

Please sign in to comment.