Spaces:
Runtime error
Runtime error
pre-load model
Browse files
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):
|