stable-diffusion-webui-docker/services/lstein/info.py

11 lines
279 B
Python
Raw Normal View History

2022-09-16 14:40:20 +00:00
import sys
from pathlib import Path
file = Path(sys.argv[1])
file.write_text(
file.read_text()\
.replace('GitHub site</a>', """
GitHub site</a>, Deployed with <a href="https://github.com/AbdBarho/stable-diffusion-webui-docker/">stable-diffusion-webui-docker</a>
""", 1)
)