Skip to content

Commit fcfdda9

Browse files
junqiangwuyiyixuxu
andauthored
Update src/diffusers/pipelines/longcat_image/pipeline_longcat_image.py
Co-authored-by: YiYi Xu <[email protected]>
1 parent b5858c4 commit fcfdda9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/diffusers/pipelines/longcat_image/pipeline_longcat_image.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ def __init__(
254254

255255
self.prompt_template_encode_prefix = '<|im_start|>system\nAs an image captioning expert, generate a descriptive text prompt based on an image content, suitable for input to a text-to-image model.<|im_end|>\n<|im_start|>user\n'
256256
self.prompt_template_encode_suffix = '<|im_end|>\n<|im_start|>assistant\n'
257-
self.prompt_template_encode_start_idx = 36
258-
self.prompt_template_encode_end_idx = 5
259257
self.default_sample_size = 128
260258
self.tokenizer_max_length = 512
261259

0 commit comments

Comments
 (0)