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'
|
- windows-curses; sys_platform == 'win32'
|
||||||
- pynvml
|
- pynvml
|
||||||
- xformers==0.0.21
|
- xformers==0.0.21
|
||||||
|
- omegaconf
|
||||||
|
@@ -46,4 +46,5 @@ dependencies:
|
|||||||
- einops
|
- einops
|
||||||
- peft==0.3.0
|
- peft==0.3.0
|
||||||
- windows-curses; sys_platform == 'win32'
|
- windows-curses; sys_platform == 'win32'
|
||||||
- pynvml
|
- pynvml
|
||||||
|
- omegaconf
|
@@ -45,4 +45,5 @@ dependencies:
|
|||||||
- einops
|
- einops
|
||||||
- peft==0.3.0
|
- peft==0.3.0
|
||||||
- windows-curses; sys_platform == 'win32'
|
- windows-curses; sys_platform == 'win32'
|
||||||
- pynvml
|
- pynvml
|
||||||
|
- omegaconf
|
@@ -795,8 +795,6 @@ gensettingstf = [
|
|||||||
"sub_path": "UI",
|
"sub_path": "UI",
|
||||||
"classname": "story",
|
"classname": "story",
|
||||||
"name": "gen_audio",
|
"name": "gen_audio",
|
||||||
"extra_classes": "var_sync_alt_system_experimental_features"
|
|
||||||
,
|
|
||||||
"ui_level": 1
|
"ui_level": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -2054,7 +2054,7 @@ class KoboldStoryRegister(object):
|
|||||||
return action_text_split
|
return action_text_split
|
||||||
|
|
||||||
def gen_audio(self, action_id=None, overwrite=True):
|
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:
|
if action_id is None:
|
||||||
action_id = self.action_count
|
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))
|
logger.info("Slow audio took {} for {} characters".format(time.time()-start_time, text_length))
|
||||||
|
|
||||||
def gen_all_audio(self, overwrite=False):
|
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())):
|
for i in reversed([-1]+list(self.actions.keys())):
|
||||||
self.gen_audio(i, overwrite=False)
|
self.gen_audio(i, overwrite=False)
|
||||||
#else:
|
#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'
|
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'
|
windows-curses; sys_platform == 'win32'
|
||||||
pynvml
|
pynvml
|
||||||
|
omegaconf
|
||||||
|
@@ -33,4 +33,5 @@ flask_compress
|
|||||||
ijson
|
ijson
|
||||||
ftfy
|
ftfy
|
||||||
pydub
|
pydub
|
||||||
sentencepiece
|
sentencepiece
|
||||||
|
omegaconf
|
Reference in New Issue
Block a user