Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ from allosaurus.app import read_recognizer
|
|
4 |
|
5 |
|
6 |
def get_bytes_in_wav_format(uploaded_file):
|
|
|
|
|
7 |
if ".wav" in uploaded_file:
|
8 |
return uploaded_file.getvalue()
|
9 |
# TODO: .mp3 conversion
|
|
|
4 |
|
5 |
|
6 |
def get_bytes_in_wav_format(uploaded_file):
|
7 |
+
st.write(dir(uploaded_file))
|
8 |
+
st.write(type(uploaded_file))
|
9 |
if ".wav" in uploaded_file:
|
10 |
return uploaded_file.getvalue()
|
11 |
# TODO: .mp3 conversion
|