Spaces:
Runtime error
Runtime error
Commit
·
90bd505
1
Parent(s):
9cf0ae5
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ device = "cpu"
|
|
23 |
|
24 |
#___________________________________________________________________________________________________________________________
|
25 |
|
26 |
-
pipe = StableDiffusionPipeline.from_pretrained(model_id, use_auth_token=
|
27 |
def dummy(images, **kwargs): return images, False
|
28 |
pipe.safety_checker = dummy
|
29 |
|
|
|
23 |
|
24 |
#___________________________________________________________________________________________________________________________
|
25 |
|
26 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, use_auth_token='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', torch_dtype=torch.float32)
|
27 |
def dummy(images, **kwargs): return images, False
|
28 |
pipe.safety_checker = dummy
|
29 |
|