mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-14 00:53:25 +00:00
add asr and tts with settings
This commit is contained in:
@ -21,6 +21,60 @@ logging.basicConfig(level=logging.INFO)
|
||||
dirbaspath = __file__.split("\\")[1:-1]
|
||||
dirbaspath= "/home/gpu/Workspace/jarvis-models/src/tts" + "/".join(dirbaspath)
|
||||
config = {
|
||||
'ayaka': {
|
||||
'cfg': dirbaspath + '/models/ayaka.json',
|
||||
'model': dirbaspath + '/models/ayaka_167k.pth',
|
||||
'char': 'character_ayaka',
|
||||
'speed': 1
|
||||
},
|
||||
'catmix': {
|
||||
'cfg': dirbaspath + '/models/catmix.json',
|
||||
'model': dirbaspath + '/models/catmix_107k.pth',
|
||||
'char': 'character_catmix',
|
||||
'speed': 1.1
|
||||
},
|
||||
'noelle': {
|
||||
'cfg': dirbaspath + '/models/noelle.json',
|
||||
'model': dirbaspath + '/models/noelle_337k.pth',
|
||||
'char': 'character_noelle',
|
||||
'speed': 1.1
|
||||
},
|
||||
'miko': {
|
||||
'cfg': dirbaspath + '/models/miko.json',
|
||||
'model': dirbaspath + '/models/miko_139k.pth',
|
||||
'char': 'character_miko',
|
||||
'speed': 1.1
|
||||
},
|
||||
'nahida': {
|
||||
'cfg': dirbaspath + '/models/nahida.json',
|
||||
'model': dirbaspath + '/models/nahida_129k.pth',
|
||||
'char': 'character_nahida',
|
||||
'speed': 1.1
|
||||
},
|
||||
'ningguang': {
|
||||
'cfg': dirbaspath + '/models/ningguang.json',
|
||||
'model': dirbaspath + '/models/ningguang_179k.pth',
|
||||
'char': 'character_ningguang',
|
||||
'speed': 1.1
|
||||
},
|
||||
'yoimiya': {
|
||||
'cfg': dirbaspath + '/models/yoimiya.json',
|
||||
'model': dirbaspath + '/models/yoimiya_102k.pth',
|
||||
'char': 'character_yoimiya',
|
||||
'speed': 1.1
|
||||
},
|
||||
'yunfeineo': {
|
||||
'cfg': dirbaspath + '/models/yunfeineo.json',
|
||||
'model': dirbaspath + '/models/yunfeineo_25k.pth',
|
||||
'char': 'character_yunfeineo',
|
||||
'speed': 1.1
|
||||
},
|
||||
'zhongli': {
|
||||
'cfg': dirbaspath + '/models/zhongli.json',
|
||||
'model': dirbaspath + '/models/zhongli_44k.pth',
|
||||
'char': 'character_',
|
||||
'speed': 1.1
|
||||
},
|
||||
'paimon': {
|
||||
'cfg': dirbaspath + '/models/paimon6k.json',
|
||||
'model': dirbaspath + '/models/paimon6k_390k.pth',
|
||||
@ -28,7 +82,7 @@ config = {
|
||||
'speed': 1
|
||||
},
|
||||
'yunfei': {
|
||||
'cfg': dirbaspath + '/tts/models/yunfeimix2.json',
|
||||
'cfg': dirbaspath + '/models/yunfeimix2.json',
|
||||
'model': dirbaspath + '/models/yunfeimix2_53k.pth',
|
||||
'char': 'character_yunfei',
|
||||
'speed': 1.1
|
||||
|
||||
Reference in New Issue
Block a user