Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -367,7 +367,7 @@ if __name__ == "__main__":
|
|
367 |
pipe = HookedStableDiffusionXLPipeline.from_pretrained(
|
368 |
'stabilityai/sdxl-turbo',
|
369 |
torch_dtype=dtype,
|
370 |
-
device_map="
|
371 |
variant=("fp16" if dtype==torch.float16 else None)
|
372 |
)
|
373 |
pipe.set_progress_bar_config(disable=True)
|
|
|
367 |
pipe = HookedStableDiffusionXLPipeline.from_pretrained(
|
368 |
'stabilityai/sdxl-turbo',
|
369 |
torch_dtype=dtype,
|
370 |
+
device_map="cpu",
|
371 |
variant=("fp16" if dtype==torch.float16 else None)
|
372 |
)
|
373 |
pipe.set_progress_bar_config(disable=True)
|