cdleong commited on
Commit
5caf6ad
·
1 Parent(s): f37ce85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def get_path_to_wav_format(uploaded_file):
8
  st.write(dir(uploaded_file))
9
  st.write(type(uploaded_file))
10
  st.write(uploaded_file)
11
- if ".wav" in uploaded_file:
12
  return path(uploaded_file)
13
  # TODO: .mp3 conversion
14
 
 
8
  st.write(dir(uploaded_file))
9
  st.write(type(uploaded_file))
10
  st.write(uploaded_file)
11
+ if ".wav" in uploaded_file.name:
12
  return path(uploaded_file)
13
  # TODO: .mp3 conversion
14