mirror of
https://github.com/rany2/edge-tts
synced 2024-11-22 01:45:02 +00:00
lint
This commit is contained in:
parent
4862ec8517
commit
2a52b979e0
@ -132,9 +132,7 @@ def split_text_by_byte_length(text: Union[str, bytes], byte_length: int) -> List
|
||||
return words
|
||||
|
||||
|
||||
def mkssml(
|
||||
text: Union[str, bytes], voice: str, rate: str, volume: str
|
||||
) -> str:
|
||||
def mkssml(text: Union[str, bytes], voice: str, rate: str, volume: str) -> str:
|
||||
"""
|
||||
Creates a SSML string from the given parameters.
|
||||
|
||||
@ -315,9 +313,7 @@ class Communicate:
|
||||
ssml_headers_plus_data(
|
||||
connect_id(),
|
||||
date,
|
||||
mkssml(
|
||||
text, self.voice, self.rate, self.volume
|
||||
),
|
||||
mkssml(text, self.voice, self.rate, self.volume),
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user