mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-10-27 00:04:16 -04:00
- auto:2995107fa2- More samplers - Textual inversion training - hlky:1a9c053cb7- Build times are SLOW - lstein:4f247a3672- Prepare for 2.0 release - very cool new UI!
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)
|
|
)
|