EwoutLagendijk commited on
Commit
87c7dbc
1 Parent(s): 4cb7738

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,13 +60,13 @@ def transcribe_speech(filepath):
60
  demo = gr.Blocks()
61
 
62
  mic_transcribe = gr.Interface(
63
- fn=transcribe_speech_with_timestamps,
64
  inputs=gr.Audio(sources="microphone", type="filepath"),
65
  outputs=gr.Textbox(lines=10, label="Transcription with Timestamps"),
66
  )
67
 
68
  file_transcribe = gr.Interface(
69
- fn=transcribe_speech_with_timestamps,
70
  inputs=gr.Audio(sources="upload", type="filepath"),
71
  outputs=gr.Textbox(lines=10, label="Transcription with Timestamps"),
72
  )
 
60
  demo = gr.Blocks()
61
 
62
  mic_transcribe = gr.Interface(
63
+ fn=transcribe_speech,
64
  inputs=gr.Audio(sources="microphone", type="filepath"),
65
  outputs=gr.Textbox(lines=10, label="Transcription with Timestamps"),
66
  )
67
 
68
  file_transcribe = gr.Interface(
69
+ fn=transcribe_speech,
70
  inputs=gr.Audio(sources="upload", type="filepath"),
71
  outputs=gr.Textbox(lines=10, label="Transcription with Timestamps"),
72
  )