comfyui mostly done
This commit is contained in:
parent
ca53366fd0
commit
58243274cd
23 changed files with 1148 additions and 114 deletions
19
flakes/ComfyUI-Plugins/openpose/default.nix
Normal file
19
flakes/ComfyUI-Plugins/openpose/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
pkgs,
|
||||
src,
|
||||
...
|
||||
}:
|
||||
pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "comfyui-openpose-editor";
|
||||
version = "dev-${builtins.toString src.lastModified}";
|
||||
inherit src;
|
||||
|
||||
patches = [
|
||||
./openpose_no_update.patch
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r * $out/
|
||||
'';
|
||||
}
|
12
flakes/ComfyUI-Plugins/openpose/openpose_no_update.patch
Normal file
12
flakes/ComfyUI-Plugins/openpose/openpose_no_update.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/__init__.py b/__init__.py
|
||||
index e4cf8bb..7d8f894 100644
|
||||
--- a/__init__.py
|
||||
+++ b/__init__.py
|
||||
@@ -35,6 +35,6 @@ def update_javascript():
|
||||
shutil.copy(src_file, dst_file)
|
||||
|
||||
|
||||
-update_javascript()
|
||||
+# update_javascript()
|
||||
|
||||
print('\033[34mOpenPose Editor: \033[92mLoaded\033[0m')
|
Loading…
Add table
Add a link
Reference in a new issue