Spaces:
Runtime error
Runtime error
Update app_sd.py
Browse files
app_sd.py
CHANGED
|
@@ -15,7 +15,7 @@ model_id_or_path = "CompVis/stable-diffusion-v1-4"
|
|
| 15 |
pipe = StableDiffusionImg2ImgPipeline.from_pretrained(
|
| 16 |
model_id_or_path,
|
| 17 |
revision="fp16",
|
| 18 |
-
torch_dtype=torch.
|
| 19 |
use_auth_token=YOUR_TOKEN
|
| 20 |
)
|
| 21 |
# or download via git clone https://huggingface.co/CompVis/stable-diffusion-v1-4
|
|
|
|
| 15 |
pipe = StableDiffusionImg2ImgPipeline.from_pretrained(
|
| 16 |
model_id_or_path,
|
| 17 |
revision="fp16",
|
| 18 |
+
torch_dtype=torch.float,
|
| 19 |
use_auth_token=YOUR_TOKEN
|
| 20 |
)
|
| 21 |
# or download via git clone https://huggingface.co/CompVis/stable-diffusion-v1-4
|