Comfy-Org / Comfy-Org/ComfyUI

WD14 tagger: RuntimeError: asyncio.run() cannot be called from a running event loop

Open
#9,962 1 comment 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

I just load an image to wd14 tagger want to get tags, but someting gets wrong

### Actual Behavior

Something wrong

### Steps to Reproduce

Just start to run the tagger

### Debug Logs

```powershell
# ComfyUI Error Report
## Error Details
- **Node ID:** 1
- **Node Type:** WD14Tagger|pysssss
- **Exception Type:** RuntimeError
- **Exception Message:** asyncio.run() cannot be called from a running event loop

## Stack Trace

File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)

File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(

## System Information
- **ComfyUI Version:** 0.3.59
- **Arguments:** E:\ComfyUI-aki-v1.6\ComfyUI\main.py --auto-launch --preview-method auto --disable-cuda-malloc
- **OS:** nt
- **Python Version:** 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.5.1+cu124
## Devices

- **Name:** cuda:0 Tesla V100-SXM2-16GB : native
- **Type:** cuda
- **VRAM Total:** 17179475968
- **VRAM Free:** 15806361600
- **Torch VRAM Total:** 0
- **Torch VRAM Free:** 0

## Logs

2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - return self._loop.run_until_complete(task)2025-09-21T01:13:50.373901 -
2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - ^2025-09-21T01:13:50.373901 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 -
2025-09-21T01:13:50.374898 - 2025-09-21T01:13:50.374898 - File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\base_events.py", line 654, in run_until_complete
2025-09-21T01:13:50.374898 - 2025-09-21T01:13:50.374898 - 2025-09-21T01:13:50.375899 - return future.result()2025-09-21T01:13:50.375899 -
2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 -
2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-manager\glob\manager_server.py", line 1602, in default_cache_update
2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - await asyncio.gather(a, b, c, d, e)2025-09-21T01:13:50.376899 -
2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-manager\glob\manager_server.py", line 1589, in get_cache
2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - json_obj = await manager_util.get_data(uri, True)2025-09-21T01:13:50.376899 -
2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 -
2025-09-21T01:13:50.378004 - 2025-09-21T01:13:50.378004 - File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-manager\glob\manager_util.py", line 126, in get_data
2025-09-21T01:13:50.378004 - 2025-09-21T01:13:50.378004 - 2025-09-21T01:13:50.378004 - async with session.get(uri, headers=headers) as resp:2025-09-21T01:13:50.379010 -
2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - File "E:\ComfyUI-aki-v1.6\python\Lib\site-packages\aiohttp\client.py", line 1425, in __aenter__
2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - self._resp: _RetType = await self._coro2025-09-21T01:13:50.379010 -
2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 -
2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - File "E:\ComfyUI-aki-v1.6\python\Lib\site-packages\aiohttp\client.py", line 730, in _request
2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - await resp.start(conn)2025-09-21T01:13:50.380011 -
2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - File "E:\ComfyUI-aki-v1.6\python\Lib\site-packages\aiohttp\client_reqrep.py", line 1059, in start
2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - message, payload = await protocol.read() # type: ignore[union-attr]2025-09-21T01:13:50.381010 -
2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 -
2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - File "E:\ComfyUI-aki-v1.6\python\Lib\site-packages\aiohttp\streams.py", line 671, in read
2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - await self._waiter2025-09-21T01:13:50.382012 -
2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - aiohttp.client_exceptions2025-09-21T01:13:50.382012 - .2025-09-21T01:13:50.383011 - ClientOSError2025-09-21T01:13:50.383011 - : 2025-09-21T01:13:50.383011 - [WinError 121] 信号灯超时时间已到2025-09-21T01:13:50.383011 -
2025-09-21T01:14:01.117780 - got prompt
2025-09-21T01:14:01.322603 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:14:01.323604 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:14:01.327114 - Prompt executed in 0.21 seconds
2025-09-21T01:14:05.588519 - got prompt
2025-09-21T01:14:05.621365 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:14:05.623364 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:14:05.625367 - Prompt executed in 0.03 seconds
2025-09-21T01:15:30.982649 - got prompt
2025-09-21T01:15:31.014419 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:15:31.015419 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:15:31.016922 - Prompt executed in 0.03 seconds
2025-09-21T01:16:37.857740 - got prompt
2025-09-21T01:16:37.891606 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:16:37.892607 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:16:37.895605 - Prompt executed in 0.04 seconds
2025-09-21T01:18:11.163165 - got prompt
2025-09-21T01:18:11.193465 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:18:11.194464 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:18:11.196973 - Prompt executed in 0.03 seconds

## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"id":"c71d8610-fc57-4c61-888d-d801bbfe2d60","revision":0,"last_node_id":11,"last_link_id":7,"nodes":[{"id":10,"type":"SaveText|pysssss","pos":[369.1515808105469,549.085693359375],"size":[270,130],"flags":{},"order":3,"mode":0,"inputs":[{"label":"text","localized_name":"text","name":"text","type":"STRING","link":6},{"label":"root_dir","localized_name":"root_dir","name":"root_dir","type":"COMBO","widget":{"name":"root_dir"},"link":null},{"label":"file","localized_name":"file","name":"file","type":"STRING","widget":{"name":"file"},"link":null},{"label":"append","localized_name":"append","name":"append","type":"COMBO","widget":{"name":"append"},"link":null},{"label":"insert","localized_name":"insert","name":"insert","type":"BOOLEAN","widget":{"name":"insert"},"link":null}],"outputs":[{"label":"STRING","localized_name":"STRING","name":"STRING","type":"STRING","links":null}],"properties":{"Node name for S&R":"SaveText|pysssss"},"widgets_values":["output","file.txt","append",true]},{"id":5,"type":"LoadImageListFromDir //Inspire","pos":[-493.2190246582031,552.4363403320312],"size":[313.0787048339844,170],"flags":{},"order":0,"mode":2,"inputs":[{"label":"directory","localized_name":"directory","name":"directory","type":"STRING","widget":{"name":"directory"},"link":null},{"label":"image_load_cap","localized_name":"image_load_cap","name":"image_load_cap","shape":7,"type":"INT","widget":{"name":"image_load_cap"},"link":null},{"label":"start_index","localized_name":"start_index","name":"start_index","shape":7,"type":"INT","widget":{"name":"start_index"},"link":null},{"label":"load_always","localized_name":"load_always","name":"load_always","shape":7,"type":"BOOLEAN","widget":{"name":"load_always"},"link":null}],"outputs":[{"label":"IMAGE","localized_name":"IMAGE","name":"IMAGE","shape":6,"type":"IMAGE","links":[]},{"label":"MASK","localized_name":"MASK","name":"MASK","shape":6,"type":"MASK","links":null},{"label":"FILE PATH","localized_name":"FILE PATH","name":"FILE PATH","shape":6,"type":"STRING","links":null}],"properties":{"Node name for S&R":"LoadImageListFromDir //Inspire"},"widgets_values":["D:\\Code\\SDXL-Lora-Script-With-Bucket-master\\Dataset",0,0,false]},{"id":11,"type":"LoadImage","pos":[-411.55328369140625,713.7208251953125],"size":[274.080078125,314],"flags":{},"order":1,"mode":0,"inputs":[{"label":"image","localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"label":"upload","localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"label":"IMAGE","localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[7]},{"label":"MASK","localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["example.png","image"]},{"id":1,"type":"WD14Tagger|pysssss","pos":[18.4837646484375,550.1529541015625],"size":[270.06640625,178],"flags":{},"order":2,"mode":0,"inputs":[{"label":"image","localized_name":"image","name":"image","type":"IMAGE","link":7},{"label":"model","localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null},{"label":"threshold","localized_name":"threshold","name":"threshold","type":"FLOAT","widget":{"name":"threshold"},"link":null},{"label":"character_threshold","localized_name":"character_threshold","name":"character_threshold","type":"FLOAT","widget":{"name":"character_threshold"},"link":null},{"label":"replace_underscore","localized_name":"replace_underscore","name":"replace_underscore","type":"BOOLEAN","widget":{"name":"replace_underscore"},"link":null},{"label":"trailing_comma","localized_name":"trailing_comma","name":"trailing_comma","type":"BOOLEAN","widget":{"name":"trailing_comma"},"link":null},{"label":"exclude_tags","localized_name":"exclude_tags","name":"exclude_tags","type":"STRING","widget":{"name":"exclude_tags"},"link":null}],"outputs":[{"label":"STRING","localized_name":"STRING","name":"STRING","shape":6,"type":"STRING","links":[6]}],"properties":{"Node name for S&R":"WD14Tagger|pysssss"},"widgets_values":["wd-eva02-large-tagger-v3",0.35,0.85,false,false,""]}],"links":[[6,1,0,10,0,"STRING"],[7,11,0,1,0,"IMAGE"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8264462809917354,"offset":[959.9916735948235,-399.72852900803434]},"node_versions":{"comfyui-custom-scripts":"3c38229fab16e9536a41a107fff545693c71f328","comfyui-Inspire-Pack":"0a009c149999c335c323e2f7fc03b42865bf454a","comfy-core":"0.3.59","comfyui-WD14-Tagger":"d33501765c5bf3dca6e90e0ebaa962890999fbc5"}},"version":0.4}

## Additional Context
(Please add any additional context or steps to reproduce the error here)
```

### Other

here is the log:

# ComfyUI Error Report
## Error Details
- **Node ID:** 1
- **Node Type:** WD14Tagger|pysssss
- **Exception Type:** RuntimeError
- **Exception Message:** asyncio.run() cannot be called from a running event loop

## Stack Trace
```
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)

File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^

File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(

```
## System Information
- **ComfyUI Version:** 0.3.59
- **Arguments:** E:\ComfyUI-aki-v1.6\ComfyUI\main.py --auto-launch --preview-method auto --disable-cuda-malloc
- **OS:** nt
- **Python Version:** 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.5.1+cu124
## Devices

- **Name:** cuda:0 Tesla V100-SXM2-16GB : native
- **Type:** cuda
- **VRAM Total:** 17179475968
- **VRAM Free:** 15806361600
- **Torch VRAM Total:** 0
- **Torch VRAM Free:** 0

## Logs
```
2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - return self._loop.run_until_complete(task)2025-09-21T01:13:50.373901 -
2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - 2025-09-21T01:13:50.373901 - ^2025-09-21T01:13:50.373901 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 - ^2025-09-21T01:13:50.374898 -
2025-09-21T01:13:50.374898 - 2025-09-21T01:13:50.374898 - File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\base_events.py", line 654, in run_until_complete
2025-09-21T01:13:50.374898 - 2025-09-21T01:13:50.374898 - 2025-09-21T01:13:50.375899 - return future.result()2025-09-21T01:13:50.375899 -
2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 - ^2025-09-21T01:13:50.375899 -
2025-09-21T01:13:50.375899 - 2025-09-21T01:13:50.375899 - File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-manager\glob\manager_server.py", line 1602, in default_cache_update
2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - await asyncio.gather(a, b, c, d, e)2025-09-21T01:13:50.376899 -
2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-manager\glob\manager_server.py", line 1589, in get_cache
2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - json_obj = await manager_util.get_data(uri, True)2025-09-21T01:13:50.376899 -
2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.376899 - 2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 - ^2025-09-21T01:13:50.378004 -
2025-09-21T01:13:50.378004 - 2025-09-21T01:13:50.378004 - File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-manager\glob\manager_util.py", line 126, in get_data
2025-09-21T01:13:50.378004 - 2025-09-21T01:13:50.378004 - 2025-09-21T01:13:50.378004 - async with session.get(uri, headers=headers) as resp:2025-09-21T01:13:50.379010 -
2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - File "E:\ComfyUI-aki-v1.6\python\Lib\site-packages\aiohttp\client.py", line 1425, in __aenter__
2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - self._resp: _RetType = await self._coro2025-09-21T01:13:50.379010 -
2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.379010 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 - ^2025-09-21T01:13:50.380011 -
2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - File "E:\ComfyUI-aki-v1.6\python\Lib\site-packages\aiohttp\client.py", line 730, in _request
2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - 2025-09-21T01:13:50.380011 - await resp.start(conn)2025-09-21T01:13:50.380011 -
2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - File "E:\ComfyUI-aki-v1.6\python\Lib\site-packages\aiohttp\client_reqrep.py", line 1059, in start
2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - message, payload = await protocol.read() # type: ignore[union-attr]2025-09-21T01:13:50.381010 -
2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.381010 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 - ^2025-09-21T01:13:50.382012 -
2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - File "E:\ComfyUI-aki-v1.6\python\Lib\site-packages\aiohttp\streams.py", line 671, in read
2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - await self._waiter2025-09-21T01:13:50.382012 -
2025-09-21T01:13:50.382012 - 2025-09-21T01:13:50.382012 - aiohttp.client_exceptions2025-09-21T01:13:50.382012 - .2025-09-21T01:13:50.383011 - ClientOSError2025-09-21T01:13:50.383011 - : 2025-09-21T01:13:50.383011 - [WinError 121] 信号灯超时时间已到2025-09-21T01:13:50.383011 -
2025-09-21T01:14:01.117780 - got prompt
2025-09-21T01:14:01.322603 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:14:01.323604 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:14:01.327114 - Prompt executed in 0.21 seconds
2025-09-21T01:14:05.588519 - got prompt
2025-09-21T01:14:05.621365 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:14:05.623364 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:14:05.625367 - Prompt executed in 0.03 seconds
2025-09-21T01:15:30.982649 - got prompt
2025-09-21T01:15:31.014419 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:15:31.015419 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:15:31.016922 - Prompt executed in 0.03 seconds
2025-09-21T01:16:37.857740 - got prompt
2025-09-21T01:16:37.891606 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:16:37.892607 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:16:37.895605 - Prompt executed in 0.04 seconds
2025-09-21T01:18:11.163165 - got prompt
2025-09-21T01:18:11.193465 - !!! Exception during processing !!! asyncio.run() cannot be called from a running event loop
2025-09-21T01:18:11.194464 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 277, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\wd14tagger.py", line 200, in tag
tags.append(wait_for_async(lambda: tag(image, model, threshold, character_threshold, exclude_tags, replace_underscore, trailing_comma)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\ComfyUI\custom_nodes\comfyui-WD14-Tagger\pysssss.py", line 207, in wait_for_async
return asyncio.run(async_fn())
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.6\python\Lib\asyncio\runners.py", line 186, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop

2025-09-21T01:18:11.196973 - Prompt executed in 0.03 seconds

```
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
```
{"id":"c71d8610-fc57-4c61-888d-d801bbfe2d60","revision":0,"last_node_id":11,"last_link_id":7,"nodes":[{"id":10,"type":"SaveText|pysssss","pos":[369.1515808105469,549.085693359375],"size":[270,130],"flags":{},"order":3,"mode":0,"inputs":[{"label":"text","localized_name":"text","name":"text","type":"STRING","link":6},{"label":"root_dir","localized_name":"root_dir","name":"root_dir","type":"COMBO","widget":{"name":"root_dir"},"link":null},{"label":"file","localized_name":"file","name":"file","type":"STRING","widget":{"name":"file"},"link":null},{"label":"append","localized_name":"append","name":"append","type":"COMBO","widget":{"name":"append"},"link":null},{"label":"insert","localized_name":"insert","name":"insert","type":"BOOLEAN","widget":{"name":"insert"},"link":null}],"outputs":[{"label":"STRING","localized_name":"STRING","name":"STRING","type":"STRING","links":null}],"properties":{"Node name for S&R":"SaveText|pysssss"},"widgets_values":["output","file.txt","append",true]},{"id":5,"type":"LoadImageListFromDir //Inspire","pos":[-493.2190246582031,552.4363403320312],"size":[313.0787048339844,170],"flags":{},"order":0,"mode":2,"inputs":[{"label":"directory","localized_name":"directory","name":"directory","type":"STRING","widget":{"name":"directory"},"link":null},{"label":"image_load_cap","localized_name":"image_load_cap","name":"image_load_cap","shape":7,"type":"INT","widget":{"name":"image_load_cap"},"link":null},{"label":"start_index","localized_name":"start_index","name":"start_index","shape":7,"type":"INT","widget":{"name":"start_index"},"link":null},{"label":"load_always","localized_name":"load_always","name":"load_always","shape":7,"type":"BOOLEAN","widget":{"name":"load_always"},"link":null}],"outputs":[{"label":"IMAGE","localized_name":"IMAGE","name":"IMAGE","shape":6,"type":"IMAGE","links":[]},{"label":"MASK","localized_name":"MASK","name":"MASK","shape":6,"type":"MASK","links":null},{"label":"FILE PATH","localized_name":"FILE PATH","name":"FILE PATH","shape":6,"type":"STRING","links":null}],"properties":{"Node name for S&R":"LoadImageListFromDir //Inspire"},"widgets_values":["D:\\Code\\SDXL-Lora-Script-With-Bucket-master\\Dataset",0,0,false]},{"id":11,"type":"LoadImage","pos":[-411.55328369140625,713.7208251953125],"size":[274.080078125,314],"flags":{},"order":1,"mode":0,"inputs":[{"label":"image","localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"label":"upload","localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"label":"IMAGE","localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[7]},{"label":"MASK","localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["example.png","image"]},{"id":1,"type":"WD14Tagger|pysssss","pos":[18.4837646484375,550.1529541015625],"size":[270.06640625,178],"flags":{},"order":2,"mode":0,"inputs":[{"label":"image","localized_name":"image","name":"image","type":"IMAGE","link":7},{"label":"model","localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null},{"label":"threshold","localized_name":"threshold","name":"threshold","type":"FLOAT","widget":{"name":"threshold"},"link":null},{"label":"character_threshold","localized_name":"character_threshold","name":"character_threshold","type":"FLOAT","widget":{"name":"character_threshold"},"link":null},{"label":"replace_underscore","localized_name":"replace_underscore","name":"replace_underscore","type":"BOOLEAN","widget":{"name":"replace_underscore"},"link":null},{"label":"trailing_comma","localized_name":"trailing_comma","name":"trailing_comma","type":"BOOLEAN","widget":{"name":"trailing_comma"},"link":null},{"label":"exclude_tags","localized_name":"exclude_tags","name":"exclude_tags","type":"STRING","widget":{"name":"exclude_tags"},"link":null}],"outputs":[{"label":"STRING","localized_name":"STRING","name":"STRING","shape":6,"type":"STRING","links":[6]}],"properties":{"Node name for S&R":"WD14Tagger|pysssss"},"widgets_values":["wd-eva02-large-tagger-v3",0.35,0.85,false,false,""]}],"links":[[6,1,0,10,0,"STRING"],[7,11,0,1,0,"IMAGE"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8264462809917354,"offset":[959.9916735948235,-399.72852900803434]},"node_versions":{"comfyui-custom-scripts":"3c38229fab16e9536a41a107fff545693c71f328","comfyui-Inspire-Pack":"0a009c149999c335c323e2f7fc03b42865bf454a","comfy-core":"0.3.59","comfyui-WD14-Tagger":"d33501765c5bf3dca6e90e0ebaa962890999fbc5"}},"version":0.4}
```

## Additional Context
(Please add any additional context or steps to reproduce the error here)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.