jlmarrugom commited on
Commit
2645bd4
1 Parent(s): e1c578a

fix: fixed placeholder

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,13 +37,13 @@ try:
37
  # st.audio(reduced_noise, sample_rate=samplerate)
38
  placeholder = st.empty()
39
  placeholder.info("Enhancing Audio...")
40
- placeholder.empty()
41
  voicefixer.restore(input="original.wav", # low quality .wav/.flac file
42
  output="enhanced_output.wav",
43
  cuda=False, # GPU acceleration
44
  mode=0)
45
  st.write("[Deep] The Audio without background noises and a little enhancement :ocean:")
46
  st.audio("enhanced_output.wav")
 
47
 
48
 
49
  else: st.warning("Recorded Audio is too short, try again :relieved:")#wink
 
37
  # st.audio(reduced_noise, sample_rate=samplerate)
38
  placeholder = st.empty()
39
  placeholder.info("Enhancing Audio...")
 
40
  voicefixer.restore(input="original.wav", # low quality .wav/.flac file
41
  output="enhanced_output.wav",
42
  cuda=False, # GPU acceleration
43
  mode=0)
44
  st.write("[Deep] The Audio without background noises and a little enhancement :ocean:")
45
  st.audio("enhanced_output.wav")
46
+ placeholder.empty()
47
 
48
 
49
  else: st.warning("Recorded Audio is too short, try again :relieved:")#wink