hide default prompt

This commit is contained in:
songkey-win
2025-06-05 17:46:10 +08:00
parent 7412d4ca12
commit ce368e562f
5 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -407,7 +407,7 @@
},
"widgets_values": [
0,
"(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture",
"",
"",
25,
815482659530374,
+1 -1
View File
@@ -406,7 +406,7 @@
},
"widgets_values": [
0,
"(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture",
"",
"",
25,
485743939425196,
+1 -1
View File
@@ -348,7 +348,7 @@
"widgets_values": [
0,
4,
"(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture",
"",
"",
25,
1075819929118817,
+8 -4
View File
@@ -328,7 +328,7 @@ class HMPipelineImage:
"drive_head_pose": ("HEAD_POSE",),
"drive_expression": ("EXPRESSION",),
"trans_ratio": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.1}),
"prompt": ("STRING", {"default": DEFAULT_PROMPT}),
"prompt": ("STRING", {"default": ''}),
"negative_prompt": ("STRING", {"default": ''}),
"steps": ("INT", {"default": 25, "min": 1, "max": 10000,
"tooltip": "The number of steps used in the denoising process."}),
@@ -350,7 +350,7 @@ class HMPipelineImage:
drive_head_pose,
drive_expression,
trans_ratio='0.0',
prompt=DEFAULT_PROMPT,
prompt='',
negative_prompt='',
steps=25,
seed=0,
@@ -360,6 +360,8 @@ class HMPipelineImage:
device = get_torch_device(gpu_id)
dtype = hm_image_pipeline.dtype
prompt = DEFAULT_PROMPT if prompt == '' else prompt + ", " + DEFAULT_PROMPT
image_np = cv2.cvtColor(ref_head_pose['frame'][0], cv2.COLOR_BGR2RGB)
image_pil = Image.fromarray(image_np)
@@ -401,7 +403,7 @@ class HMPipelineVideo:
"drive_expression": ("EXPRESSION",),
"trans_ratio": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.1}),
"patch_overlap": ("INT", {"default": 4, "min": 0, "max": 5}),
"prompt": ("STRING", {"default": DEFAULT_PROMPT}),
"prompt": ("STRING", {"default": ''}),
"negative_prompt": ("STRING", {"default": ''}),
"steps": ("INT", {"default": 25, "min": 1, "max": 10000,
"tooltip": "The number of steps used in the denoising process."}),
@@ -424,7 +426,7 @@ class HMPipelineVideo:
drive_expression,
trans_ratio=0.0,
patch_overlap=4,
prompt=DEFAULT_PROMPT,
prompt='',
negative_prompt="",
steps=25,
seed=0,
@@ -434,6 +436,8 @@ class HMPipelineVideo:
device = get_torch_device(gpu_id)
dtype = hm_video_pipeline.dtype
prompt = DEFAULT_PROMPT if prompt == '' else prompt + ", " + DEFAULT_PROMPT
image_np = cv2.cvtColor(ref_head_pose['frame'][0], cv2.COLOR_BGR2RGB)
image_pil = Image.fromarray(image_np)
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_hellomeme"
description = "This repository is the official implementation of the [a/HelloMeme](https://arxiv.org/pdf/2410.22901) ComfyUI interface"
version = "1.3.10"
version = "1.3.11"
license = {file = "LICENSE"}
[project.urls]