Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ auth_token = os.environ.get("AUTH_TOKEN") or True
|
|
7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
8 |
pipe = StableDiffusionPipeline.from_pretrained(
|
9 |
"sd-dreambooth-library/andy-simulator-v2",
|
|
|
10 |
use_auth_token=auth_token,
|
11 |
).to(device)
|
12 |
|
|
|
7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
8 |
pipe = StableDiffusionPipeline.from_pretrained(
|
9 |
"sd-dreambooth-library/andy-simulator-v2",
|
10 |
+
torch_dtype=torch.float32,
|
11 |
use_auth_token=auth_token,
|
12 |
).to(device)
|
13 |
|