Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def get_path_to_wav_format(uploaded_file):
|
|
38 |
waveform, sample_rate = torchaudio.load(actual_file_path)
|
39 |
st.info(f"waveform, sample_rate: {waveform}, {sample_rate}")
|
40 |
torchaudio.save(new_desired_path, waveform, sample_rate)
|
41 |
-
|
42 |
return new_desired_path
|
43 |
|
44 |
@st.cache
|
|
|
38 |
waveform, sample_rate = torchaudio.load(actual_file_path)
|
39 |
st.info(f"waveform, sample_rate: {waveform}, {sample_rate}")
|
40 |
torchaudio.save(new_desired_path, waveform, sample_rate)
|
41 |
+
|
42 |
return new_desired_path
|
43 |
|
44 |
@st.cache
|