Pusheen commited on
Commit
491933c
1 Parent(s): 1a9b367

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -182,7 +182,7 @@ def click_on_display(language_instruction, grounding_texts, sketch_pad,
182
  x = Image.open('./images/dog.png')
183
  gen_images = [gr.Image.update(value=x, visible=True)]
184
 
185
- return gen_images, state
186
 
187
  def generate(unet, vae, tokenizer, text_encoder, language_instruction, grounding_texts, sketch_pad,
188
  loss_threshold, guidance_scale, batch_size, rand_seed, max_step, loss_scale, max_iter,
 
182
  x = Image.open('./images/dog.png')
183
  gen_images = [gr.Image.update(value=x, visible=True)]
184
 
185
+ return gen_images + [state]
186
 
187
  def generate(unet, vae, tokenizer, text_encoder, language_instruction, grounding_texts, sketch_pad,
188
  loss_threshold, guidance_scale, batch_size, rand_seed, max_step, loss_scale, max_iter,