Update Versions (#39)

This commit is contained in:
AbdBarho
2022-09-07 19:45:03 +02:00
committed by GitHub
parent c614625f04
commit 499143009a
6 changed files with 43 additions and 27 deletions

14
AUTOMATIC1111/info.py Normal file
View File

@@ -0,0 +1,14 @@
import sys
from pathlib import Path
file = Path(sys.argv[1])
file.write_text(
file.read_text()\
.replace(' return demo', """
with demo:
gr.Markdown(
'Created by [AUTOMATIC1111 / stable-diffusion-webui-docker](https://github.com/AbdBarho/stable-diffusion-webui-docker/tree/master/AUTOMATIC1111)'
)
return demo
""", 1)
)