cuticle999 commited on
Commit
ab25534
·
verified ·
1 Parent(s): 47abc89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -2,9 +2,8 @@ import gradio as gr
2
  from transformers import pipeline
3
  import numpy as np
4
 
5
- # transcriber = pipeline("automatic-speech-recognition", model="kotoba-tech/kotoba-whisper-v1.0")
6
  # transcriber = pipeline("automatic-speech-recognition", model="whisper-large-v3")
7
- transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-medium")
8
 
9
  def transcribe(stream, new_chunk):
10
  sr, y = new_chunk
 
2
  from transformers import pipeline
3
  import numpy as np
4
 
5
+ transcriber = pipeline("automatic-speech-recognition", model="kotoba-tech/kotoba-whisper-v1.0")
6
  # transcriber = pipeline("automatic-speech-recognition", model="whisper-large-v3")
 
7
 
8
  def transcribe(stream, new_chunk):
9
  sr, y = new_chunk