tensorkelechi commited on
Commit
ef865ba
·
verified ·
1 Parent(s): d0c25b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ st.set_page_config(
20
  page_title="VidText"
21
  )
22
 
23
- st.title('VIdtext_whisper')
24
  st.write('A web app for video/audio transcription(Youtube, mp4, mp3)')
25
 
26
 
@@ -56,7 +56,7 @@ def audio_processing(mp3_audio):
56
 
57
  @st.cache_resource
58
  def load_asr_model():
59
- asr_model = pipeline(task="automatic-speech-recognition", model="openai/whisper-small")
60
  return asr_model
61
 
62
  transcriber_model = load_asr_model()
 
20
  page_title="VidText"
21
  )
22
 
23
+ st.title('Vidtext_whisper')
24
  st.write('A web app for video/audio transcription(Youtube, mp4, mp3)')
25
 
26
 
 
56
 
57
  @st.cache_resource
58
  def load_asr_model():
59
+ asr_model = pipeline(task="automatic-speech-recognition", model="distil-whisper/distil-large-v3")
60
  return asr_model
61
 
62
  transcriber_model = load_asr_model()