Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3-t
|
|
10 |
# Define a function to process the output and extract only the transcription text
|
11 |
def process_transcription(audio_input):
|
12 |
|
13 |
-
result = pipe(audio_input
|
14 |
# Extract the transcription text directly
|
15 |
transcription = result["text"]
|
16 |
return transcription
|
|
|
10 |
# Define a function to process the output and extract only the transcription text
|
11 |
def process_transcription(audio_input):
|
12 |
|
13 |
+
result = pipe(audio_input)
|
14 |
# Extract the transcription text directly
|
15 |
transcription = result["text"]
|
16 |
return transcription
|