Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = "
|
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"])
|