[Hunyuanimage-3.0] Accuracy fix (#3373)
Signed-off-by: dengyunyang <584797741@qq.com>
This commit is contained in:
1 parent
b076006c35
commit
369a47d5a1
4 files changed
+3
-17
No files matched your search
@@ -149,7 +149,7 @@ def main():
|
||||
for p in prompts:
|
||||
token_ids = build_prompt_tokens(p, tokenizer, task=task, sys_type=args.sys_type)
|
||||
|
||||
prompt_dict: dict = {"prompt_token_ids": token_ids}
|
||||
prompt_dict: dict = {"prompt_token_ids": token_ids, "prompt": p}
|
||||
|
||||
if args.modality == "text2img":
|
||||
prompt_dict["modalities"] = ["image"]
|
||||
|
||||
Reference in new issue
Block a user