Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
app.py
CHANGED
@@ -255,28 +255,28 @@ with gr.Blocks(css_paths="style.css") as demo:
|
|
255 |
)
|
256 |
|
257 |
use_negative_prompt.change(
|
258 |
-
fn=lambda x: gr.
|
259 |
inputs=use_negative_prompt,
|
260 |
outputs=negative_prompt,
|
261 |
queue=False,
|
262 |
api_name=False,
|
263 |
)
|
264 |
use_prompt_2.change(
|
265 |
-
fn=lambda x: gr.
|
266 |
inputs=use_prompt_2,
|
267 |
outputs=prompt_2,
|
268 |
queue=False,
|
269 |
api_name=False,
|
270 |
)
|
271 |
use_negative_prompt_2.change(
|
272 |
-
fn=lambda x: gr.
|
273 |
inputs=use_negative_prompt_2,
|
274 |
outputs=negative_prompt_2,
|
275 |
queue=False,
|
276 |
api_name=False,
|
277 |
)
|
278 |
apply_refiner.change(
|
279 |
-
fn=lambda x: gr.
|
280 |
inputs=apply_refiner,
|
281 |
outputs=refiner_params,
|
282 |
queue=False,
|
|
|
255 |
)
|
256 |
|
257 |
use_negative_prompt.change(
|
258 |
+
fn=lambda x: gr.Textbox(visible=x),
|
259 |
inputs=use_negative_prompt,
|
260 |
outputs=negative_prompt,
|
261 |
queue=False,
|
262 |
api_name=False,
|
263 |
)
|
264 |
use_prompt_2.change(
|
265 |
+
fn=lambda x: gr.Textbox(visible=x),
|
266 |
inputs=use_prompt_2,
|
267 |
outputs=prompt_2,
|
268 |
queue=False,
|
269 |
api_name=False,
|
270 |
)
|
271 |
use_negative_prompt_2.change(
|
272 |
+
fn=lambda x: gr.Textbox(visible=x),
|
273 |
inputs=use_negative_prompt_2,
|
274 |
outputs=negative_prompt_2,
|
275 |
queue=False,
|
276 |
api_name=False,
|
277 |
)
|
278 |
apply_refiner.change(
|
279 |
+
fn=lambda x: gr.Row(visible=x),
|
280 |
inputs=apply_refiner,
|
281 |
outputs=refiner_params,
|
282 |
queue=False,
|