Skip to content
代码片段 群组 项目
提交 619668cc 编辑于 作者: DepFA's avatar DepFA 提交者: AUTOMATIC1111
浏览文件

Add options for exposed ddim sampler params

ddim_eta & ddim_discretize
上级 175baaac
No related branches found
No related tags found
无相关合并请求
......@@ -220,6 +220,10 @@ options_templates.update(options_section(('ui', "User interface"), {
"js_modal_lightbox_initialy_zoomed": OptionInfo(True, "Show images zoomed in by default in full page image viewer"),
}))
options_templates.update(options_section(('sampler-params', "Sampler parameters"), {
"ddim_eta": OptionInfo(0.0, "img2img ddim eta", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
"ddim_discretize": OptionInfo('uniform', "img2img ddim discretize", gr.Radio, {"choices": ['uniform','quad']}),
}))
class Options:
data = None
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册