p1atdev commited on
Commit
c4136d4
1 Parent(s): 591a8fb
Files changed (1) hide show
  1. main.py +12 -6
main.py CHANGED
@@ -95,11 +95,6 @@ def ui():
95
  ],
96
  inputs=[
97
  input_image,
98
- diameter_slider,
99
- sigma_color_slider,
100
- sigma_space_slider,
101
- radius_slider,
102
- eps_slider,
103
  ],
104
  outputs=[],
105
  fn=example,
@@ -116,7 +111,18 @@ def ui():
116
  "The lllyasviel's original repo is [here](https://github.com/lllyasviel/AdverseCleaner/tree/main)."
117
  )
118
 
119
- start_btn.click(fn=clean_image, inputs=[input_image], outputs=[output_image])
 
 
 
 
 
 
 
 
 
 
 
120
  send_to_input_btn.click(
121
  fn=send_to_input, inputs=[output_image], outputs=[input_image]
122
  )
 
95
  ],
96
  inputs=[
97
  input_image,
 
 
 
 
 
98
  ],
99
  outputs=[],
100
  fn=example,
 
111
  "The lllyasviel's original repo is [here](https://github.com/lllyasviel/AdverseCleaner/tree/main)."
112
  )
113
 
114
+ start_btn.click(
115
+ fn=clean_image,
116
+ inputs=[
117
+ input_image,
118
+ diameter_slider,
119
+ sigma_color_slider,
120
+ sigma_space_slider,
121
+ radius_slider,
122
+ eps_slider,
123
+ ],
124
+ outputs=[output_image],
125
+ )
126
  send_to_input_btn.click(
127
  fn=send_to_input, inputs=[output_image], outputs=[input_image]
128
  )