File size: 383 Bytes
7694c84
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from .shakkelha.network import Shakkelha
from .shakkala.network import Shakkala

def load_vowelizer(name: str, config):
    if name == 'shakkala':        
        shakkala = Shakkala(sd_path=config.shakkala_path)
        return shakkala
    elif name == 'shakkelha':
        shakkelha = Shakkelha(sd_path=config.shakkelha_path)
        return shakkelha
    else:
        print('...')