Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rany2 committed Jan 5, 2023
1 parent 4862ec8 commit 2a52b97
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/edge_tts/communicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -315,9 +313,7 @@ async def stream(self) -> AsyncGenerator[Dict[str, Any], None]:
ssml_headers_plus_data(
connect_id(),
date,
mkssml(
text, self.voice, self.rate, self.volume
),
mkssml(text, self.voice, self.rate, self.volume),
)
)

Expand Down

0 comments on commit 2a52b97

Please sign in to comment.