mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
Update launcher.md to wrap code blocks
This commit is contained in:
parent
a7808ff853
commit
270dd328d5
@ -1,5 +1,7 @@
|
||||
# Text-generation-launcher arguments
|
||||
|
||||
<!-- WRAP CODE BLOCKS -->
|
||||
|
||||
```
|
||||
Text Generation Launcher
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user