Update gradio_compile.py

This commit is contained in:
lllyasviel
2024-01-25 22:31:43 -08:00
parent f0603b3baa
commit 6ff93ddcc7

View File

@@ -19,6 +19,6 @@ def gradio_compile(items, prefix):
step = float(d.get('step', 0.001))
print(f'{name} = gr.Slider(label=\'{title}\', minimum={min}, maximum={max}, step={step}, value={default})')
else:
print('error ' + t)
print('error ' + str(t))
return