Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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,
|