Spaces:
Sleeping
Sleeping
SamuelHarner
commited on
Commit
•
0ac822c
1
Parent(s):
b9a6372
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="MarieGotthardt/whisper") # change to "your-username/the-name-you-picked"
|
5 |
|
6 |
def transcribe(audio):
|
7 |
text = pipe(audio)["text"]
|