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