Prgckwb commited on
Commit
7a474e6
·
1 Parent(s): 8b40ec8

avoid memory issue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ else:
21
 
22
  pipelines = {
23
  model_id: DiffusionPipeline.from_pretrained(
24
- model_id, device=device, dtype=torch_dtype
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
  }