Mishig 2023-09-28 17:30:36 +02:00 committed by GitHub
parent a7808ff853
commit 724199aaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# Text-generation-launcher arguments
<!-- WRAP CODE BLOCKS -->
```
Text Generation Launcher

View File

@ -11,7 +11,8 @@ def main():
output = subprocess.check_output(["text-generation-launcher", "--help"]).decode(
"utf-8"
)
final_doc = f"# Text-generation-launcher arguments\n\n```\n{output}\n```"
wrap_code_blocks_flag = "<!-- WRAP CODE BLOCKS -->"
final_doc = f"# Text-generation-launcher arguments\n\n{wrap_code_blocks_flag}\n\n```\n{output}\n```"
filename = "docs/source/basic_tutorials/launcher.md"
if args.check: