mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Moved TTS out of experimental
Add install script for tortoise_tts and added omegaconf requirement for normal tts (was missed)
This commit is contained in:
@@ -59,3 +59,4 @@ dependencies:
|
||||
- windows-curses; sys_platform == 'win32'
|
||||
- pynvml
|
||||
- xformers==0.0.21
|
||||
- omegaconf
|
||||
|
@@ -47,3 +47,4 @@ dependencies:
|
||||
- peft==0.3.0
|
||||
- windows-curses; sys_platform == 'win32'
|
||||
- pynvml
|
||||
- omegaconf
|
@@ -46,3 +46,4 @@ dependencies:
|
||||
- peft==0.3.0
|
||||
- windows-curses; sys_platform == 'win32'
|
||||
- pynvml
|
||||
- omegaconf
|
@@ -795,8 +795,6 @@ gensettingstf = [
|
||||
"sub_path": "UI",
|
||||
"classname": "story",
|
||||
"name": "gen_audio",
|
||||
"extra_classes": "var_sync_alt_system_experimental_features"
|
||||
,
|
||||
"ui_level": 1
|
||||
},
|
||||
{
|
||||
|
@@ -2054,7 +2054,7 @@ class KoboldStoryRegister(object):
|
||||
return action_text_split
|
||||
|
||||
def gen_audio(self, action_id=None, overwrite=True):
|
||||
if self.story_settings.gen_audio and self._koboldai_vars.experimental_features:
|
||||
if self.story_settings.gen_audio:
|
||||
if action_id is None:
|
||||
action_id = self.action_count
|
||||
|
||||
@@ -2160,7 +2160,7 @@ class KoboldStoryRegister(object):
|
||||
logger.info("Slow audio took {} for {} characters".format(time.time()-start_time, text_length))
|
||||
|
||||
def gen_all_audio(self, overwrite=False):
|
||||
if self.story_settings.gen_audio and self._koboldai_vars.experimental_features:
|
||||
if self.story_settings.gen_audio:
|
||||
for i in reversed([-1]+list(self.actions.keys())):
|
||||
self.gen_audio(i, overwrite=False)
|
||||
#else:
|
||||
|
@@ -47,3 +47,4 @@ https://github.com/PanQiWei/AutoGPTQ/releases/download/v0.4.1/auto_gptq-0.4.1+cu
|
||||
https://github.com/PanQiWei/AutoGPTQ/releases/download/v0.4.1/auto_gptq-0.4.1+cu118-cp38-cp38-win_amd64.whl; sys_platform == 'win32' and python_version == '3.8'
|
||||
windows-curses; sys_platform == 'win32'
|
||||
pynvml
|
||||
omegaconf
|
||||
|
@@ -34,3 +34,4 @@ ijson
|
||||
ftfy
|
||||
pydub
|
||||
sentencepiece
|
||||
omegaconf
|
Reference in New Issue
Block a user