eienmojiki commited on
Commit
7b8d05e
·
verified ·
1 Parent(s): 416a1c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -79,7 +79,13 @@ def create_app():
79
  )
80
 
81
  input_components_process = [input_image, filter_select] + control_components
82
- for component in [input_image, filter_select] + control_components: # Attach change to sliders
 
 
 
 
 
 
83
  component.change(
84
  process,
85
  inputs=input_components_process,
 
79
  )
80
 
81
  input_components_process = [input_image, filter_select] + control_components
82
+ filter_select.change( # Attach change to filter_select
83
+ process,
84
+ inputs=input_components_process,
85
+ outputs=output_image,
86
+ show_progress=False
87
+ )
88
+ for component in control_components: # Attach change to sliders
89
  component.change(
90
  process,
91
  inputs=input_components_process,