File "C:\AI\UVR5UI\app.py", line 594, in mdxcseparator return stems[0], None IndexError:…
- User
File "C:\AI\UVR5_UI\app.py", line 594, in mdxc_separator return stems[0], None IndexError: list index out of range
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\gradio\queueing.py", line 626, in process_events response = await route_utils.call_process_api( File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\gradio\blocks.py", line 2229, in process_api result = await self.call_function( File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\gradio\blocks.py", line 1740, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\anyio_backends_asyncio.py", line 2470, in run_sync_in_worker_thread return await future File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\anyio_backends_asyncio.py", line 967, in run result = context.run(func, *args) File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\gradio\utils.py", line 940, in wrapper response = f(*args, **kwargs) File "C:\Users\DjZaN\miniconda3\envs\uvr\lib\site-packages\gradio\utils.py", line 940, in wrapper response = f(*args, **kwargs) File "C:\AI\UVR5_UI\assets\presence\discord_presence.py", line 146, in wrapper result = func(*args, **kwargs) File "C:\AI\UVR5_UI\app.py", line 599, in mdxc_separator raise RuntimeError(f"MDX23C separation failed: {e}") from e RuntimeError: MDX23C separation failed: list index out of range
- Assistant
The error traceback indicates that your function
mdxc_separatorin the fileapp.pyat line 594 is trying to access the first element of a liststemsusingstems[0], but that list is empty, leading to anIndexError: list index out of range.