Mark0047 commited on
Commit
60387e7
·
verified ·
1 Parent(s): f863a5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
7
 
8
  # Define a function to process the output and extract only the transcription text
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
 
7
 
8
  # Define a function to process the output and extract only the transcription text
9
  def process_transcription(audio_input):
10
+ model = gr.load("models/openai/whisper-large-v3-turbo")
11
  result = model(audio_input)
12
  print(result)
13
  # Extract the transcription text directly