Chandranshu Jain commited on
Commit
dfdd372
·
verified ·
1 Parent(s): 178a338

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def transcribe_speech(filepath):
18
  gr.Warning("No text found, please retry.")
19
  return ""
20
  narrated_text=pipe(filepath)
21
- return narrated_text['audio'],narrated_text['sampling_rate']
22
 
23
  mic_transcribe = gr.Interface(
24
  fn=transcribe_speech,
 
18
  gr.Warning("No text found, please retry.")
19
  return ""
20
  narrated_text=pipe(filepath)
21
+ return narrated_text['sampling_rate'],narrated_text['audio']
22
 
23
  mic_transcribe = gr.Interface(
24
  fn=transcribe_speech,