Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|