Spaces:
Sleeping
Sleeping
Commit
•
af28464
1
Parent(s):
e4a4e0e
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
-
pipe = pipeline(model="
|
5 |
|
6 |
def transcribe(audio):
|
7 |
text = pipe(audio)["text"]
|
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
+
pipe = pipeline(model="Scalable-ML/whisper-small-sv-dropout-6mb-checkpoint-2000")
|
5 |
|
6 |
def transcribe(audio):
|
7 |
text = pipe(audio)["text"]
|