Merge 4a9f716d26 into 446560d331
commit
381a84b44b
33
README.md
33
README.md
|
|
@ -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
Loading…
Reference in New Issue