This commit is contained in:
2025-09-04 08:50:35 +08:00
parent a0b2df76f4
commit bbcf37ab22

View File

@@ -10,6 +10,8 @@ with open('config.json', 'r', encoding='utf-8') as f:
if __name__ == "__main__":
# 获取第一个模型的配置
model_config = config["models"][1]
# 完成的例子
# https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/LibLib/484eba61d6e74f8ea0cb3d8ff2d14341.jpg
# 通过枚举转换
print(f'使用采样方法: {model_config["sampler"]}')