pull/1/merge
Айвендил 2024-03-02 08:32:32 +00:00 committed by GitHub
commit 381a84b44b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1230 additions and 605 deletions

View File

@ -1,16 +1,17 @@
Russian localization of Stable Diffusion webui
# Скрипт для добавки отсутствующих ключей
```python
import json
files=['localization.json', 'ru_RU.json']
with open('merged_file_name.json', "w") as outfile:
res = dict()
for f in files:
dct = dict(json.load(open(f, "r").read()))
res.update(dct)
outfile.write(res)
```
Russian localization of Stable Diffusion webui
# Актуальная версия включает в себя перевод не только "тела" Stable Diffusion, но и ряда дополнений.
# Скрипт для добавки отсутствующих ключей
```python
import json
files=['localization.json', 'ru_RU.json']
with open('merged_file_name.json', "w") as outfile:
res = dict()
for f in files:
dct = dict(json.load(open(f, "r").read()))
res.update(dct)
outfile.write(res)
```

File diff suppressed because it is too large Load Diff