Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ model = gr.load("models/openai/whisper-large-v3-turbo")
|
|
9 |
# Define a function to process the output and extract only the transcription text
|
10 |
def process_transcription(audio_input):
|
11 |
result = model(audio_input)
|
|
|
12 |
print(result)
|
13 |
# Extract the transcription text directly
|
14 |
transcription = result.text
|
|
|
9 |
# Define a function to process the output and extract only the transcription text
|
10 |
def process_transcription(audio_input):
|
11 |
result = model(audio_input)
|
12 |
+
print(type(result))
|
13 |
print(result)
|
14 |
# Extract the transcription text directly
|
15 |
transcription = result.text
|