salmanmapkar commited on
Commit
d42e2ff
1 Parent(s): 0e2461f

Update app.py

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