j-min commited on
Commit
95e9355
Β·
1 Parent(s): 1774e89

pre-load model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,8 +57,8 @@ class Instance:
57
  return pipe
58
 
59
  instance = Instance()
 
60
 
61
- # from ldm.viz_utils import plot_results, fig2img, show_images
62
  from gen_utils import encode_from_custom_annotation, iterinpaint_sample_diffusers
63
 
64
  class ImageMask(gr.components.Image):
 
57
  return pipe
58
 
59
  instance = Instance()
60
+ instance.load_model()
61
 
 
62
  from gen_utils import encode_from_custom_annotation, iterinpaint_sample_diffusers
63
 
64
  class ImageMask(gr.components.Image):