Index out of range error occurred when trying to generate a single 5s slice:
"File "/Users/.../opt/anaconda3/envs/riffusion/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/Users/.../Desktop/riffusion/riffusion/streamlit/playground.py", line 34, in
render()
File "/Users/.../Desktop/riffusion/riffusion/streamlit/playground.py", line 29, in render
module.render()
File "/Users/.../Desktop/riffusion/riffusion/streamlit/tasks/audio_to_audio.py", line 307, in render
combined_segment = audio_util.stitch_segments(result_segments, crossfade_s=overlap_duration_s)
File "/Users/.../Desktop/riffusion/riffusion/util/audio_util.py", line 82, in stitch_segments
combined_segment = segments[0]
Index out of range error occurred when trying to generate a single 5s slice:
"File "/Users/.../opt/anaconda3/envs/riffusion/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script exec(code, module.dict) File "/Users/.../Desktop/riffusion/riffusion/streamlit/playground.py", line 34, in
render()
File "/Users/.../Desktop/riffusion/riffusion/streamlit/playground.py", line 29, in render
module.render()
File "/Users/.../Desktop/riffusion/riffusion/streamlit/tasks/audio_to_audio.py", line 307, in render
combined_segment = audio_util.stitch_segments(result_segments, crossfade_s=overlap_duration_s)
File "/Users/.../Desktop/riffusion/riffusion/util/audio_util.py", line 82, in stitch_segments
combined_segment = segments[0]