Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into render-waveform-in-a-…
Browse files Browse the repository at this point in the history
…different-context
  • Loading branch information
nwaughachukwuma committed Nov 6, 2024
2 parents 5db7f6e + ca62856 commit 35a774e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/utils/render_audiocast_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def render_audiocast_handler(session_id: str, audiocast: GenerateAudiocastDict):
st.audio(audiocast["url"])

# Voice waveform
waveform_video_path: Path | str = st.session_state.get("waveform_video_path", False)
with st.expander("Show Audio Waveform"):
waveform_video_path: Path | str = st.session_state.get("waveform_video_path", False)
if waveform_video_path:
render_waveform(waveform_video_path)
else:
Expand Down

0 comments on commit 35a774e

Please sign in to comment.