YaArtemNosenko commited on
Commit
83e5364
·
verified ·
1 Parent(s): 01591d1

[ADD] Add `controlnet` func

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -179,6 +179,11 @@ def infer(
179
  image = pipe(**params).images[0]
180
  return image, seed
181
 
 
 
 
 
 
182
  examples = [
183
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
184
  "An astronaut riding a green horse",
 
179
  image = pipe(**params).images[0]
180
  return image, seed
181
 
182
+
183
+ def controlnet_params(show_extra):
184
+ return gr.update(visible=show_extra)
185
+
186
+
187
  examples = [
188
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
189
  "An astronaut riding a green horse",