1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

rmove space in make docstring

This commit is contained in:
yiyixuxu
2026-01-19 09:35:39 +01:00
parent f056af1fbb
commit 94525200fd

View File

@@ -893,7 +893,7 @@ def make_doc_string(
# Add description
if description:
desc_lines = description.strip().split("\n")
aligned_desc = "\n".join(" " + line for line in desc_lines)
aligned_desc = "\n".join(" " + line.rstrip() for line in desc_lines)
output += aligned_desc + "\n\n"
# Add components section if provided