Replies: 1 comment 1 reply
-
It appears you have the xyz_grid script active and have no choice in the box for the x axis, hence it's erroring as the is no number in x_type.choices |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
getting this error:
Traceback (most recent call last):
File "C:\AI\Shared\Folders\VenvFolders\SDt1.13.1cu117\lib\site-packages\gradio\routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "C:\AI\Shared\Folders\VenvFolders\SDt1.13.1cu117\lib\site-packages\gradio\blocks.py", line 1015, in process_api
result = await self.call_function(
File "C:\AI\Shared\Folders\VenvFolders\SDt1.13.1cu117\lib\site-packages\gradio\blocks.py", line 833, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\AI\Shared\Folders\VenvFolders\SDt1.13.1cu117\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\AI\Shared\Folders\VenvFolders\SDt1.13.1cu117\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\AI\Shared\Folders\VenvFolders\SDt1.13.1cu117\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\AI\WebUI\scripts\xyz_grid.py", line 380, in select_axis
return gr.Button.update(visible=self.current_axis_options[x_type].choices is not None)
TypeError: list indices must be integers or slices, not NoneType
Beta Was this translation helpful? Give feedback.
All reactions