Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
hpwang
/
VistaDream
like
0
Build error
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
ff37255
VistaDream
/
pipe
/
cfgs
/
__init__.py
hpwang
[Init]
fd5e0f7
6 months ago
raw
Copy download link
history
blame
Safe
172 Bytes
from
omegaconf
import
OmegaConf
def
load_cfg
(
cfg_path
):
return
OmegaConf.load(cfg_path)
def
merge_cfgs
(
cfg1,cfg2
):
cfg = OmegaConf.merge(cfg1,cfg2)
return
cfg