multimodalart HF staff commited on
Commit
ce1c1c2
1 Parent(s): 1323497

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ def merge_and_run(prompt, negative_prompt, shuffled_items, lora_1_scale=0.5, lor
131
  image = pipe(prompt=prompt, negative_prompt=negative_prompt, num_inference_steps=20, width=768, height=768, generator=generator).images[0]
132
  del pipe
133
  gc.collect()
134
- return image, gr.update(visible=True), seed, gr.update(visible=True), gr.update(visible=False), gr.update(visible=True), gr.update(visible=False)
135
 
136
  def get_description(item):
137
  trigger_word = item["trigger_word"]
 
131
  image = pipe(prompt=prompt, negative_prompt=negative_prompt, num_inference_steps=20, width=768, height=768, generator=generator).images[0]
132
  del pipe
133
  gc.collect()
134
+ return image, gr.update(visible=True), seed, gr.update(visible=True, interactive=True), gr.update(visible=False), gr.update(visible=True, interactive=True), gr.update(visible=False)
135
 
136
  def get_description(item):
137
  trigger_word = item["trigger_word"]