Spaces:
Runtime error
Runtime error
Update fn
Browse files
app.py
CHANGED
@@ -4,7 +4,10 @@ from transformers import pipeline
|
|
4 |
pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3")
|
5 |
|
6 |
def transcribe(audio):
|
7 |
-
|
|
|
|
|
|
|
8 |
|
9 |
app = gr.Interface(transcribe, gr.Audio(sources=["microphone"]), outputs="textbox")
|
10 |
|
|
|
4 |
pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3")
|
5 |
|
6 |
def transcribe(audio):
|
7 |
+
result = pipe(audio)
|
8 |
+
print(result)
|
9 |
+
|
10 |
+
return result
|
11 |
|
12 |
app = gr.Interface(transcribe, gr.Audio(sources=["microphone"]), outputs="textbox")
|
13 |
|