Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ model_id_or_path = "CompVis/stable-diffusion-v1-4"
|
|
31 |
pipe = StableDiffusionInpaintingPipeline.from_pretrained(
|
32 |
model_id_or_path,
|
33 |
revision="fp16",
|
34 |
-
torch_dtype=torch.
|
35 |
use_auth_token=auth_token
|
36 |
).to(device)
|
37 |
#pipe = pipe.to(device)
|
|
|
31 |
pipe = StableDiffusionInpaintingPipeline.from_pretrained(
|
32 |
model_id_or_path,
|
33 |
revision="fp16",
|
34 |
+
torch_dtype=torch.long,
|
35 |
use_auth_token=auth_token
|
36 |
).to(device)
|
37 |
#pipe = pipe.to(device)
|