Skip to content

Commit 2b2acd2

Browse files
committed
Fix #1221
1 parent c7be728 commit 2b2acd2

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

tabs/inference/inference.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,9 +1867,6 @@ def limiter_visible(checkbox):
18671867
def chorus_visible(checkbox):
18681868
return update_visibility(checkbox, 6)
18691869

1870-
def bitcrush_visible(checkbox):
1871-
return update_visibility(checkbox, 1)
1872-
18731870
def compress_visible(checkbox):
18741871
return update_visibility(checkbox, 4)
18751872

@@ -1999,7 +1996,7 @@ def delay_visible(checkbox):
19991996
],
20001997
)
20011998
bitcrush.change(
2002-
fn=bitcrush_visible,
1999+
fn=toggle_visible,
20032000
inputs=[bitcrush],
20042001
outputs=[bitcrush_bit_depth],
20052002
)
@@ -2083,7 +2080,7 @@ def delay_visible(checkbox):
20832080
],
20842081
)
20852082
bitcrush_batch.change(
2086-
fn=bitcrush_visible,
2083+
fn=toggle_visible,
20872084
inputs=[bitcrush_batch],
20882085
outputs=[bitcrush_bit_depth_batch],
20892086
)

0 commit comments

Comments
 (0)