Error calling decode on UploadedFile type

I open an audio file and want to save it to another local location. This happens during decoding. How can I solve it?

UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x80 in position 24: invalid start byte

audio2 = st.file_uploader('select audio', type=['wav', 'pcm', 'amr'])
	if audio2 is not None:
		st.text(StringIO(audio2.getvalue().decode("utf-8")))