emon-j commited on
Commit
011f92f
1 Parent(s): b7ff09e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from faster_whisper import WhisperModel
2
  import streamlit as st
3
  from translator import translate
4
- model_size = "small"
5
  model = WhisperModel(model_size, device="cpu", compute_type="int8")
6
  st.title("Audio to Text Translator")
7
  audio_file = st.file_uploader("Upload an audio file", type=["mp3", "wav", "ogg", "flac"])
 
1
  from faster_whisper import WhisperModel
2
  import streamlit as st
3
  from translator import translate
4
+ model_size = "metame/faster-distil-whisper-large-v2"
5
  model = WhisperModel(model_size, device="cpu", compute_type="int8")
6
  st.title("Audio to Text Translator")
7
  audio_file = st.file_uploader("Upload an audio file", type=["mp3", "wav", "ogg", "flac"])