Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,13 @@ def create_app():
|
|
| 79 |
)
|
| 80 |
|
| 81 |
input_components_process = [input_image, filter_select] + control_components
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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,
|