forplaytvplus commited on
Commit
04c24b9
·
verified ·
1 Parent(s): 7c5d546

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -116,7 +116,6 @@ def generate(
116
  pipe.set_adapters([adapter_name1, adapter_name2], adapter_weights=[lora_scale, lora_scale2])
117
 
118
  enable_model_cpu_offload()
119
- pipe.to(device)
120
  generator = torch.Generator().manual_seed(seed)
121
 
122
  if not use_negative_prompt:
 
116
  pipe.set_adapters([adapter_name1, adapter_name2], adapter_weights=[lora_scale, lora_scale2])
117
 
118
  enable_model_cpu_offload()
 
119
  generator = torch.Generator().manual_seed(seed)
120
 
121
  if not use_negative_prompt: