mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-21 23:33:57 +00:00
Update gradio_compile.py
This commit is contained in:
@@ -4,8 +4,9 @@ def gradio_compile(items, prefix):
|
||||
t = v[0]
|
||||
d = v[1] if len(v) > 1 else None
|
||||
if prefix != '':
|
||||
prefix = prefix + '_'
|
||||
name = (prefix + k).replace(' ', '_').lower()
|
||||
name = (prefix + k).replace(' ', '_').lower()
|
||||
else:
|
||||
name = k.replace(' ', '_').lower()
|
||||
title = name.replace('_', ' ').title()
|
||||
|
||||
if t == 'INT':
|
||||
|
||||
Reference in New Issue
Block a user