ALLARD Marc-Antoine commited on
Commit
c19c343
·
1 Parent(s): 30d9d30

Fix the synch between main page and HTML component

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -486,7 +486,7 @@ def show_segmentation_page():
486
  st.info("Click and drag on the waveform to create segments. Resize by dragging edges, remove with ✕ button.")
487
 
488
  # Interactive waveform
489
- waveform_html = create_waveform_html(st.session_state.audio_file, st.session_state.segments)
490
  st.components.v1.html(waveform_html, height=500)
491
 
492
  # Manual segment addition
 
486
  st.info("Click and drag on the waveform to create segments. Resize by dragging edges, remove with ✕ button.")
487
 
488
  # Interactive waveform
489
+ waveform_html = create_waveform_html(st.session_state.audio_file)
490
  st.components.v1.html(waveform_html, height=500)
491
 
492
  # Manual segment addition