bugfix
This commit is contained in:
parent
f75a060f2a
commit
c87b6429f2
@ -39,8 +39,5 @@ class CoquiTTS:
|
||||
buf = b.read()
|
||||
return buf
|
||||
|
||||
async def generate(self, text):
|
||||
loop = asyncio.get_event_loop()
|
||||
result = await loop.run_in_executor(None, self._generate, text)
|
||||
return result
|
||||
generate = awaitify(_generate)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user