Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -228,10 +228,6 @@ with iface:
|
|
228 |
result_output = gr.Textbox(label="Time taken and Number of words")
|
229 |
transcribe_button = gr.Button("Transcribe")
|
230 |
|
231 |
-
def transcribe(audio_file):
|
232 |
-
text, result = transcribe_audio(audio_file, forced_decoder_ids)
|
233 |
-
return text, result
|
234 |
-
|
235 |
transcribe_button.click(
|
236 |
fn=transcribe,
|
237 |
inputs=[audio_input],
|
|
|
228 |
result_output = gr.Textbox(label="Time taken and Number of words")
|
229 |
transcribe_button = gr.Button("Transcribe")
|
230 |
|
|
|
|
|
|
|
|
|
231 |
transcribe_button.click(
|
232 |
fn=transcribe,
|
233 |
inputs=[audio_input],
|