1
0
Fork 0

Fix killing a voice generation because I must have broken it during migration

master
mrq 2023-02-18 19:54:21 +07:00
parent cd8919e65c
commit 58c981d714
1 changed files with 2 additions and 1 deletions

@ -714,7 +714,8 @@ def reload_tts():
setup_tortoise(restart=True)
def cancel_generate():
tortoise.api.STOP_SIGNAL = True
from tortoise.api import STOP_SIGNAL
STOP_SIGNAL = True
def get_voice_list(dir=get_voice_dir()):
os.makedirs(dir, exist_ok=True)