fix g2pw model (#2304) (#2306)

r1.1
TianYuan 2 years ago committed by GitHub
parent 7badf15971
commit 9ca3a5d292
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