Yw22 commited on
Commit
52e24dc
1 Parent(s): 54e84e1
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -512,7 +512,7 @@ if __name__=="__main__":
512
  text_size=gr.themes.sizes.text_md
513
  )
514
  ).queue()
515
- with block as demo:
516
  with gr.Row():
517
  with gr.Column():
518
  gr.HTML(head)
@@ -645,4 +645,4 @@ if __name__=="__main__":
645
  negative_prompt, seed, randomize_seed, guidance_scale, num_inference_steps, personalized, examples_type],
646
  [output_image, output_video])
647
 
648
- demo.launch()
 
512
  text_size=gr.themes.sizes.text_md
513
  )
514
  ).queue()
515
+ with block:
516
  with gr.Row():
517
  with gr.Column():
518
  gr.HTML(head)
 
645
  negative_prompt, seed, randomize_seed, guidance_scale, num_inference_steps, personalized, examples_type],
646
  [output_image, output_video])
647
 
648
+ block.launch()