mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-10 09:59:57 +00:00
Update gradio_compile.py
This commit is contained in:
@@ -4,7 +4,7 @@ def gradio_compile(items, prefix):
|
||||
if len(v) == 2:
|
||||
t, d = v
|
||||
if t == 'INT':
|
||||
name = prefix + '_' + k
|
||||
name = (prefix + '_' + k).replace(' ', '_').lower()
|
||||
default = int(d['default'])
|
||||
min = int(d['min'])
|
||||
max = int(d['max'])
|
||||
|
||||
Reference in New Issue
Block a user