Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import gradio as gr
|
|
| 9 |
def process_transcription(audio_input):
|
| 10 |
model = gr.Interface.load("models/openai/whisper-large-v3-turbo")
|
| 11 |
result = model(audio_input)
|
| 12 |
-
|
| 13 |
# Extract the transcription text directly
|
| 14 |
transcription = result["text"]
|
| 15 |
return transcription
|
|
|
|
| 9 |
def process_transcription(audio_input):
|
| 10 |
model = gr.Interface.load("models/openai/whisper-large-v3-turbo")
|
| 11 |
result = model(audio_input)
|
| 12 |
+
print(result)
|
| 13 |
# Extract the transcription text directly
|
| 14 |
transcription = result["text"]
|
| 15 |
return transcription
|