Merge pull request #17 from cjpais/autodetect-lang
Set language to auto. Enables transcription in native language
This commit is contained in:
commit
0e3bb4ebc1
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ impl TranscriptionManager {
|
|||
let mut state = self.state.lock().unwrap();
|
||||
// Initialize parameters
|
||||
let mut params = FullParams::new(SamplingStrategy::default());
|
||||
params.set_language(Some("auto"));
|
||||
params.set_print_special(false);
|
||||
params.set_print_progress(false);
|
||||
params.set_print_realtime(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue