Spaces:
Sleeping
Sleeping
Prgckwb
commited on
Commit
·
7a474e6
1
Parent(s):
8b40ec8
avoid memory issue
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ else:
|
|
21 |
|
22 |
pipelines = {
|
23 |
model_id: DiffusionPipeline.from_pretrained(
|
24 |
-
model_id,
|
25 |
)
|
26 |
for model_id in model_ids
|
27 |
}
|
|
|
21 |
|
22 |
pipelines = {
|
23 |
model_id: DiffusionPipeline.from_pretrained(
|
24 |
+
model_id, torch_dtype=torch_dtype
|
25 |
)
|
26 |
for model_id in model_ids
|
27 |
}
|