MusIre commited on
Commit
774e3cf
·
1 Parent(s): e416e8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def transcribe_audio(audio_data):
48
  # Extract the transcribed text from the response
49
  transcription = response["choices"][0]["text"].strip()
50
 
51
- return transcription
52
 
53
  # Set the function for the Gradio interface
54
  iface.fn = transcribe_audio
 
48
  # Extract the transcribed text from the response
49
  transcription = response["choices"][0]["text"].strip()
50
 
51
+ return transcription # This is the transcription result
52
 
53
  # Set the function for the Gradio interface
54
  iface.fn = transcribe_audio