Spaces:
Runtime error
Runtime error
load directly to self attribute
Browse files
app.py
CHANGED
@@ -62,7 +62,8 @@ class Instance:
|
|
62 |
|
63 |
# # xformers
|
64 |
# pipe.enable_xformers_memory_efficient_attention()
|
65 |
-
|
|
|
66 |
|
67 |
instance = Instance()
|
68 |
instance.load_model()
|
|
|
62 |
|
63 |
# # xformers
|
64 |
# pipe.enable_xformers_memory_efficient_attention()
|
65 |
+
|
66 |
+
self.loaded_model = pipe
|
67 |
|
68 |
instance = Instance()
|
69 |
instance.load_model()
|