Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -518,7 +518,7 @@ def main():
|
|
518 |
queue=False)
|
519 |
|
520 |
gen_btn.click(
|
521 |
-
fn=partial(
|
522 |
inputs=[
|
523 |
language_instruction, grounding_instruction, sketch_pad,
|
524 |
loss_threshold, guidance_scale, batch_size, rand_seed,
|
|
|
518 |
queue=False)
|
519 |
|
520 |
gen_btn.click(
|
521 |
+
fn=partial(generate, unet, vae, tokenizer, text_encoder,),
|
522 |
inputs=[
|
523 |
language_instruction, grounding_instruction, sketch_pad,
|
524 |
loss_threshold, guidance_scale, batch_size, rand_seed,
|