fix g2pw model (#2304)

pull/2308/head
TianYuan 2 years ago committed by GitHub
parent 1f100b1573
commit d1c70a7809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1363,5 +1363,11 @@ g2pw_onnx_models = {
'md5':
'7e049a55547da840502cf99e8a64f20e',
},
'1.1': {
'url':
'https://paddlespeech.bj.bcebos.com/Parakeet/released_models/g2p/G2PWModel_1.1.zip',
'md5':
'f8b60501770bff92ed6ce90860a610e6',
},
},
}

@ -34,7 +34,7 @@ from paddlespeech.t2s.frontend.g2pw.utils import load_config
from paddlespeech.t2s.frontend.zh_normalization.char_convert import tranditional_to_simplified
from paddlespeech.utils.env import MODEL_HOME
model_version = '1.0'
model_version = '1.1'
def predict(session, onnx_input, labels):

Loading…
Cancel
Save