Mark0047 commited on
Commit
05019fe
·
verified ·
1 Parent(s): 1c5f049

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -11,10 +11,8 @@ pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3-t
11
  def process_transcription(audio_input):
12
 
13
  result = pipe(audio_input)
14
- print(result["text"])
15
- print(result)
16
  # Extract the transcription text directly
17
- transcription = result.text
18
  return transcription
19
 
20
  # Launch the interface
 
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
17
 
18
  # Launch the interface