patharanor commited on
Commit
7128a95
·
1 Parent(s): f4e5887

fix:wrong thai language model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
  import numpy as np
4
 
5
- model_name = "airesearch/wav2vec2-large-xlsr-53-th"
6
  transcriber = pipeline("automatic-speech-recognition", model=model_name)
7
 
8
  def transcribe(audio):
 
2
  from transformers import pipeline
3
  import numpy as np
4
 
5
+ model_name = "biodatlab/whisper-th-medium-combined"
6
  transcriber = pipeline("automatic-speech-recognition", model=model_name)
7
 
8
  def transcribe(audio):