on1onmangoes commited on
Commit
546e581
1 Parent(s): dcb65b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ st.markdown("<h1 style = text align:center;'> Group Therapy Notes </h1>",unsafe_
14
  st.markdown("---",unsafe_allow_html=True)
15
  audio=st.file_uploader("Upload Your Audio File", type=['mp3','wav','m4a'])
16
 
17
- If audio:
18
  audio_segment= AudioSegment.from_file(audio)
19
  chunks=silence.split_on_silence(audio_segment, min_silence_length=500, silence_thresh= audio_segment.dBFs-20,keep_silence=100)
20
  for index, chunk in enumerate (chunks):
 
14
  st.markdown("---",unsafe_allow_html=True)
15
  audio=st.file_uploader("Upload Your Audio File", type=['mp3','wav','m4a'])
16
 
17
+ if audio:
18
  audio_segment= AudioSegment.from_file(audio)
19
  chunks=silence.split_on_silence(audio_segment, min_silence_length=500, silence_thresh= audio_segment.dBFs-20,keep_silence=100)
20
  for index, chunk in enumerate (chunks):