2022-08-28 16:41:54 +00:00
|
|
|
import sys
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
file = Path(sys.argv[1])
|
|
|
|
file.write_text(
|
2022-08-29 18:10:14 +00:00
|
|
|
file.read_text()\
|
|
|
|
.replace('<p>For help and advanced usage guides,', """
|
2022-08-28 16:41:54 +00:00
|
|
|
<p>
|
|
|
|
Created using <a href="https://github.com/AbdBarho/stable-diffusion-webui-docker">stable-diffusion-webui-docker</a>.
|
|
|
|
</p>
|
|
|
|
<p>For help and advanced usage guides,
|
2022-09-03 04:59:16 +00:00
|
|
|
""", 1)
|
|
|
|
)
|