Use base model for faster inference
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import whisper
|
2 |
import gradio as gr
|
3 |
|
4 |
-
model = whisper.load_hf_model(repo_id="jerpint/whisper", filename="
|
5 |
|
6 |
|
7 |
def transcribe(audio, translate):
|
|
|
1 |
import whisper
|
2 |
import gradio as gr
|
3 |
|
4 |
+
model = whisper.load_hf_model(repo_id="jerpint/whisper", filename="base.pt")
|
5 |
|
6 |
|
7 |
def transcribe(audio, translate):
|