Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
|
@@ -38,7 +38,7 @@ class StableMultiDiffusionPipeline(nn.Module):
|
|
| 38 |
def __init__(
|
| 39 |
self,
|
| 40 |
device: torch.device,
|
| 41 |
-
dtype: torch.dtype = torch.
|
| 42 |
sd_version: Literal['1.5', '2.0', '2.1', 'xl'] = '1.5',
|
| 43 |
hf_key: Optional[str] = None,
|
| 44 |
lora_key: Optional[str] = None,
|
|
|
|
| 38 |
def __init__(
|
| 39 |
self,
|
| 40 |
device: torch.device,
|
| 41 |
+
dtype: torch.dtype = torch.float16,
|
| 42 |
sd_version: Literal['1.5', '2.0', '2.1', 'xl'] = '1.5',
|
| 43 |
hf_key: Optional[str] = None,
|
| 44 |
lora_key: Optional[str] = None,
|