riffusion / riffusion-hobby

Stable diffusion for real-time music generation
MIT License
3.43k stars 393 forks source link

Audio to Audio One Slice Breaking #139

Open SalRSpina opened 1 year ago

SalRSpina commented 1 year ago
Screen Shot 2023-04-11 at 3 51 49 PM

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]