Support paraformer on iOS (#265)
* Fix C API to support streaming paraformer * Fix Swift API * Support paraformer in iOS
This commit is contained in:
@@ -113,13 +113,13 @@ int32_t main(int32_t argc, char *argv[]) {
|
||||
config.model_config.tokens = value;
|
||||
break;
|
||||
case 'e':
|
||||
config.model_config.encoder = value;
|
||||
config.model_config.transducer.encoder = value;
|
||||
break;
|
||||
case 'd':
|
||||
config.model_config.decoder = value;
|
||||
config.model_config.transducer.decoder = value;
|
||||
break;
|
||||
case 'j':
|
||||
config.model_config.joiner = value;
|
||||
config.model_config.transducer.joiner = value;
|
||||
break;
|
||||
case 'n':
|
||||
config.model_config.num_threads = atoi(value);
|
||||
|
||||
Reference in New Issue
Block a user