@@ 3,7 3,7 @@
__version__ = "0.1.0"
import os as __os
-from typing import BinaryIO as _BinaryIO
+from typing import BinaryIO as __BinaryIO
from text_synthesizer import Plugin as __plugin, Type as __Type
@@ 19,72 19,72 @@ __os.environ[__credentials_file] = str(__Type.plugin_file(__credentials_file))
# Standard
@__plugin.register(name="Google Standard A")
@__exception_catcher
-def standard_a(text: str) -> _BinaryIO:
+def standard_a(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Standard-A")
@__plugin.register(name="Google Standard B")
@__exception_catcher
-def standard_b(text: str) -> _BinaryIO:
+def standard_b(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Standard-B")
@__plugin.register(name="Google Standard C")
@__exception_catcher
-def standard_c(text: str) -> _BinaryIO:
+def standard_c(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Standard-C")
@__plugin.register(name="Google Standard D")
@__exception_catcher
-def standard_d(text: str) -> _BinaryIO:
+def standard_d(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Standard-D")
@__plugin.register(name="Google Standard E")
@__exception_catcher
-def standard_e(text: str) -> _BinaryIO:
+def standard_e(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Standard-E")
@__plugin.register(name="Google Standard F")
@__exception_catcher
-def standard_f(text: str) -> _BinaryIO:
+def standard_f(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Standard-F")
# Wavenet
@__plugin.register(name="Google Wavenet A")
@__exception_catcher
-def wavenet_a(text: str) -> _BinaryIO:
+def wavenet_a(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Wavenet-A")
@__plugin.register(name="Google Wavenet B")
@__exception_catcher
-def wavenet_b(text: str) -> _BinaryIO:
+def wavenet_b(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Wavenet-B")
@__plugin.register(name="Google Wavenet C")
@__exception_catcher
-def wavenet_c(text: str) -> _BinaryIO:
+def wavenet_c(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Wavenet-C")
@__plugin.register(name="Google Wavenet D")
@__exception_catcher
-def wavenet_d(text: str) -> _BinaryIO:
+def wavenet_d(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Wavenet-D")
@__plugin.register(name="Google Wavenet E")
@__exception_catcher
-def wavenet_e(text: str) -> _BinaryIO:
+def wavenet_e(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Wavenet-E")
@__plugin.register(name="Google Wavenet F")
@__exception_catcher
-def wavenet_f(text: str) -> _BinaryIO:
+def wavenet_f(text: str) -> __BinaryIO:
return __synthesize(text, name="en-US-Wavenet-F")