Rename the UIs in docker compose to their new names Changes folder names Changes output folder structure Closes issue #263 Adds `sygil-sl` instead of docker compose flag.
14 lines
321 B
Python
14 lines
321 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
file = Path(sys.argv[1])
|
|
file.write_text(
|
|
file.read_text()\
|
|
.replace(' <div id="root"></div>', """
|
|
<div id="root"></div>
|
|
<div>
|
|
Deployed with <a href="https://github.com/AbdBarho/stable-diffusion-webui-docker/">stable-diffusion-webui-docker</a>
|
|
</div>
|
|
""", 1)
|
|
)
|