cdleong commited on
Commit
262f8cd
·
1 Parent(s): 8a4f01c

unserializable

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ if __name__ == "__main__":
102
  wav_file = get_path_to_wav_format(uploaded_file)
103
  # st.write(wav_file)
104
  result = model.recognize(wav_file, langcode)
105
- results[wav_file] = result
106
  # st.write(result)
107
 
108
  st.write(results)
 
102
  wav_file = get_path_to_wav_format(uploaded_file)
103
  # st.write(wav_file)
104
  result = model.recognize(wav_file, langcode)
105
+ results[uploaded_file.name] = result
106
  # st.write(result)
107
 
108
  st.write(results)