Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUse the fine-tuned whisper.
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
asr_pipeline = pipeline("automatic-speech-recognition", model="
|
5 |
|
6 |
def transcribe(audio):
|
7 |
text = asr_pipeline(audio)["text"]
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
asr_pipeline = pipeline("automatic-speech-recognition", model="monadical-labs/whisper-medium.en")
|
5 |
|
6 |
def transcribe(audio):
|
7 |
text = asr_pipeline(audio)["text"]
|