forked from mrq/ai-voice-cloning
Fix killing a voice generation because I must have broken it during migration
This commit is contained in:
parent
cd8919e65c
commit
58c981d714
|
@ -714,7 +714,8 @@ def reload_tts():
|
||||||
setup_tortoise(restart=True)
|
setup_tortoise(restart=True)
|
||||||
|
|
||||||
def cancel_generate():
|
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()):
|
def get_voice_list(dir=get_voice_dir()):
|
||||||
os.makedirs(dir, exist_ok=True)
|
os.makedirs(dir, exist_ok=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user