From 6edeaa6cfd3ed083cf617987d741e75d218720a6 Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Thu, 25 Jan 2024 22:25:15 -0800 Subject: [PATCH] Update gradio_compile.py --- modules_forge/gradio_compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules_forge/gradio_compile.py b/modules_forge/gradio_compile.py index 33a57314..6b723bbe 100644 --- a/modules_forge/gradio_compile.py +++ b/modules_forge/gradio_compile.py @@ -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'])