salmanmapkar commited on
Commit
3e025d2
1 Parent(s): 3ed304d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def Transcribe_V1(NumberOfSpeakers, SpeakerNames="", audio="temp_audio.wav"):
104
  return f"dz_{audio}.wav", dzList, segments
105
 
106
  def transcribe(dz_audio):
107
- model = whisper.load_model("large")
108
  result = model.transcribe(dz_audio)
109
  # for _ in result['segments']:
110
  # print(_['start'], _['end'], _['text'])
 
104
  return f"dz_{audio}.wav", dzList, segments
105
 
106
  def transcribe(dz_audio):
107
+ model = whisper.load_model("medium")
108
  result = model.transcribe(dz_audio)
109
  # for _ in result['segments']:
110
  # print(_['start'], _['end'], _['text'])