Spaces:
Sleeping
Sleeping
yash
commited on
Commit
·
f8ef591
1
Parent(s):
7860220
run on cpu
Browse files
app.py
CHANGED
@@ -42,9 +42,9 @@ def set_pipeline(model_id_repo,scheduler):
|
|
42 |
|
43 |
pipe = StableDiffusionPipeline.from_pretrained(
|
44 |
model_repo,
|
45 |
-
torch_dtype=torch.float16, # to run on cpu
|
46 |
use_safetensors=True,
|
47 |
-
).to("
|
48 |
|
49 |
|
50 |
scheduler_classes = {
|
|
|
42 |
|
43 |
pipe = StableDiffusionPipeline.from_pretrained(
|
44 |
model_repo,
|
45 |
+
# torch_dtype=torch.float16, # to run on cpu
|
46 |
use_safetensors=True,
|
47 |
+
).to("cpu")
|
48 |
|
49 |
|
50 |
scheduler_classes = {
|