ccb67dd80c79f3548cbf622ae9e01e8ff6c90fe3
avatar-graph-comfyui
This introduce a custom workflow on top of comfyui built for avatar-graph.
Installation
-
cd custom_nodes -
git clone https://github.com/avatechgg/avatar-graph-comfyui.git -
Install deps
python -m pip install -r requirements.txt -
Navigate to in your comfyui installation folder, open
comfyui/main.pyand add the following lines:
def prompt_worker(q, server):
e = execution.PromptExecutor(server)
# Add this line here
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), "custom_nodes", "avatar-graph-comfyui"))
import global_bpy
while True:
item, item_id = q.get()
# Add this line here
global_bpy.reset_bpy()
- Restart comfyui
Languages
Python
39.9%
JavaScript
34.1%
CSS
26%