mirror of
https://github.com/rany2/edge-tts
synced 2024-11-22 01:45:02 +00:00
add docstring to VoicesManager's create()
This commit is contained in:
parent
8c356a000c
commit
fe8b86c7f5
@ -48,6 +48,9 @@ class VoicesManager:
|
||||
|
||||
@classmethod
|
||||
async def create(cls):
|
||||
"""
|
||||
Creates a VoicesManager object and populates it with all available voices.
|
||||
"""
|
||||
self = VoicesManager()
|
||||
self.voices = await list_voices()
|
||||
self.voices = [
|
||||
|
Loading…
Reference in New Issue
Block a user