Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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")
|