info.py 341 B

12345678910111213
  1. import sys
  2. from pathlib import Path
  3. file = Path(sys.argv[1])
  4. file.write_text(
  5. file.read_text()\
  6. .replace('<p>For help and advanced usage guides,', """
  7. <p>
  8. Created using <a href="https://github.com/AbdBarho/stable-diffusion-webui-docker">stable-diffusion-webui-docker</a>.
  9. </p>
  10. <p>For help and advanced usage guides,
  11. """, 1)
  12. )