Spaces:
Runtime error
Runtime error
Upload load_cache.py
Browse files- mods/load_cache.py +1 -0
mods/load_cache.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2 |
|
3 |
|
4 |
def init(cfg):
|
|
|
5 |
if os.path.exists(cfg['setting_cache_path'].value):
|
6 |
# ========== 加载角色卡-缓存 ==========
|
7 |
tmp = cfg['model'].load_session(cfg['setting_cache_path'].value)
|
|
|
2 |
|
3 |
|
4 |
def init(cfg):
|
5 |
+
print(cfg['setting_cache_path'].value)
|
6 |
if os.path.exists(cfg['setting_cache_path'].value):
|
7 |
# ========== 加载角色卡-缓存 ==========
|
8 |
tmp = cfg['model'].load_session(cfg['setting_cache_path'].value)
|