NeerAbhy commited on
Commit
62c451b
·
verified ·
1 Parent(s): b4042c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -222,7 +222,7 @@ def prediction(audio):
222
  decode.append(index.item())
223
  decodes.append(text_transform.int_to_text(decode))
224
 
225
- return decode
226
  #microphone_input = gr.Audio( type="filepath", label="Record")
227
  #upload_input = gr.Audio( type="filepath", label="Upload File")
228
  audio_input = gr.Audio(type='filepath', label="Upload an audio file")
 
222
  decode.append(index.item())
223
  decodes.append(text_transform.int_to_text(decode))
224
 
225
+ return decodes
226
  #microphone_input = gr.Audio( type="filepath", label="Record")
227
  #upload_input = gr.Audio( type="filepath", label="Upload File")
228
  audio_input = gr.Audio(type='filepath', label="Upload an audio file")