Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Yiqin
/
ChatVID
like
2
Paused
App
Files
Files
Community
main
ChatVID
/
config
/
config_utils.py
Yiqin
init
6ef31de
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
232 Bytes
def
get_config
(
config_path:
str
):
import
yaml
f =
open
(config_path,
"r"
)
config = yaml.load(f.read(), yaml.Loader)
f.close()
return
config
def
save_config
(
config:
dict
,
file_path:
str
,
):
pass