runtime error

Exit code: 139. Reason: gradio/blocks.py", line 2116, in process_api result = await self.call_function( File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/gradio/blocks.py", line 1623, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/anyio/to_thread.py", line 61, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2525, in run_sync_in_worker_thread return await future File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 986, in run result = context.run(func, *args) File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/gradio/utils.py", line 915, in wrapper response = f(*args, **kwargs) File "/app/app.py", line 57, in fn _, output_vis, _ = process_single_image( File "/app/infer.py", line 234, in process_single_image prediction = pipeline( File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context return func(*args, **kwargs) File "/app/pipeline.py", line 180, in __call__ latents = self.scheduler.step(noise_pred, t, latents, return_dict=False)[0] File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/diffusers/schedulers/scheduling_flow_match_euler_discrete.py", line 356, in step self._init_step_index(timestep) File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/diffusers/schedulers/scheduling_flow_match_euler_discrete.py", line 298, in _init_step_index self._step_index = self.index_for_timestep(timestep) File "/root/.pyenv/versions/3.10.19/lib/python3.10/site-packages/diffusers/schedulers/scheduling_flow_match_euler_discrete.py", line 292, in index_for_timestep return indices[pos].item() IndexError: index 0 is out of bounds for dimension 0 with size 0 terminate called without an active exception

Container logs:

Fetching error logs...