Spaces:
Running
on
Zero
Running
on
Zero
Update ace_inference.py
Browse files- ace_inference.py +1 -1
ace_inference.py
CHANGED
@@ -84,7 +84,7 @@ class TextEmbedding(nn.Module):
|
|
84 |
super().__init__()
|
85 |
self.pos = nn.Parameter(data=torch.zeros(embedding_shape))
|
86 |
|
87 |
-
class
|
88 |
def __init__(self, logger=None):
|
89 |
if logger is None:
|
90 |
logger = get_logger(name='scepter')
|
|
|
84 |
super().__init__()
|
85 |
self.pos = nn.Parameter(data=torch.zeros(embedding_shape))
|
86 |
|
87 |
+
class ACEInference(DiffusionInference):
|
88 |
def __init__(self, logger=None):
|
89 |
if logger is None:
|
90 |
logger = get_logger(name='scepter')
|