Rhueue commited on
Commit
89ba800
·
1 Parent(s): 180e0b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ if uploaded_audio is not None:
21
  reduced_audio = nr.reduce_noise(y=audio, sr=sample_rate)
22
 
23
  # Provide a link to download the processed audio
24
- st.audio(reduced_audio, format="audio/wav")
25
 
26
  # Run the Streamlit app
27
  if __name__ == "__main__":
 
21
  reduced_audio = nr.reduce_noise(y=audio, sr=sample_rate)
22
 
23
  # Provide a link to download the processed audio
24
+ st.audio(reduced_audio, format="audio/wav", sample_rate=sample_rate)
25
 
26
  # Run the Streamlit app
27
  if __name__ == "__main__":