Mark0047 commited on
Commit
d4d8b59
·
verified ·
1 Parent(s): 660ac16

Update app.py

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